Inhaltsverzeichnis

Important Files and Directories

See also Understanding Linux configuration files, Filesystem Hierarchy Standard, Filesystem_Hierarchy_Standard SW = Slackware spezifisch
SU = Suse spezifisch

/boot

/boot/config Kernel Compiler Configuration

/dev

/dev/cdrom Symlink für Cdrom-LW
/dev/dvd Symlink für DVD-LW auf z.B. /dev/hdd
/dev/hda 1. Ide-Laufwerk
/dev/hda1 1. Partition auf 1. Ide-Laufwerk
/dev/modem Symlink auf irgendeine serielle Schnittstelle
/dev/mouse Symlink auf /dev/psaux bei SW9.0 & SU7.3
/dev/null Data sink (man null)
/dev/psaux Für PS2-Maus (?)
/dev/pts/X Device Name für virtuelles Terminal unter X oder ssh
/dev/sda 1. Scsi-Drive
/dev/shm Root-directory of an in-memory FS (ramdrive), source
/dev/ttyS0 erste serielle Schnittstelle
/dev/ttyX Device Name für echtes Terminal

/etc

/etc/DIR_COLORS Farben & Optionen für ls per Befehl dircolors (SW)
/etc/HOSTNAME Host- & Domainname, wird von rc.M ausgelesen
/etc/adjtime Drift der HwClock für hwclock
/etc/apache/php.ini PHP Konfiguration
/etc/bash.bashrc Aliase zB l='ls -alF'; gesourced von /etc/profile (SU)
/etc/exports Exportierte Verzeichisse für NFS (man exports)
/etc/fstab Mount Konfiguration
/etc/group user - group correlation (gpasswd modifizierts)
/etc/host.conf Anfrage-Reihenfolge libc4 & libc5 u.a für DNS
/etc/hosts DNS Konfiguration, wenn kein lokaler DNS vorhanden
/etc/httpd/httpd.conf Apache Konfiguration
/etc/httpd/mime.types Apache Internet media types (file gibts 4mal!)
/etc/inetd.conf Konfiguration des inetd (manuell)
/etc/init.d/ SU: system startup scripts
/etc/inittab Configuration of the runlevels; see Unix How-To: the Linux /etc/inittab file, inittab
/etc/lilo.conf Linux loader Konfig
/etc/modules.conf SW: Module mit KMOD laden (Slack9.0-Howto Kap.6.1 Z.1208)
/etc/nsswitch.conf Anfrage-Reihenfolge glibc u.a für DNS
/etc/passwd user account information
/etc/php.ini PHP Konfiguration alt, mit php von Suse-rpm
/etc/profile konfiguriert die Bash für alle User
/etc/rc.config SU: Linux-Haupt-Konfigurationsdatei (for /etc/init.d/)
/etc/rc.config.d/ ausgelagerte Teile der /etc/rc.config
/etc/rc.d/ SW: system startup scripts (?) SU: Symlink auf /etc/init.d/
/etc/rc.d/rc.modules SW: Kernel-Module zur Bootzeit laden
/etc/resolv.conf DnsIpNr & Domain-Suchliste; Format: http://ldp.bootet.net/HOWTO/text/DNS-HOWTO
/etc/route.conf u.a Defaultgateway (wahrscheinlich nur SU)
/etc/services enthält die auf der Maschine verwendeten Protokolle
/etc/shadow with 'passwd' encrypted user passwords
/etc/skel/ Template für Homedir z.B. bei adduser s.SystemAminGuide
/etc/wvdial.conf Daten der ISP's für PPP

/proc

See also „man proc“:

/proc/[pid]/stat/ Source for ps
/proc/[pid]/status/ Similar to /proc/[pid]/stat but human readable
/proc/cpuinfo (Static) CPU frequency, see alos BogoMips-Howto
/proc/filesystems What the kernel is able to mount (see „man fs“)
/proc/meminfo Source data for 'free' command
/proc/partitions Overview partitions
/proc/stat current cpu load, source for 'top'command?

/usr

/usr/doc (SW) Doku zu Paketen, gleiches in usr/share/doc
/usr/doc/Linux-HOWTOs/ (SW) es gibt auch Linux-FAQs/ & Linux-mini-HOWTOs/
/usr/lib/java/ Symlink auf die gewünschte VM. Verwendet von $PATH
/usr/local/bin/ Für 'manuell' installierte Software. Vgl.: /usr/bin/
/usr/local/httpd/htdocs/ Root-Verz. für Apache
/usr/local/share/ Für 'manuell' installierte Software. Vgl.: /usr/share/
/usr/share/php/ Bibliothek für PHP, z.B. Getopt

/var

/var/log/packages (SW) Beschreibungen installierter Slackware Pakete
/var/log/scripts (SW) Scripts zur (De)Installation von Paketen ?
/var/mail/<user> local email inbox (mbox)
/var/run/<appname>.pid Contains the process ID of deamon <appname>

Home Directory

~/.profile konfiguriert die Bash für einen User
~/.bashrc konfiguriert die Bash für einen User
~/.Xdefaults konfiguriert Terminal Emulatoren rxvt, aterm, xterm
~/.xinitrc wird von startx aufgerufen, startet zB fluxbox
~/.xsession wie .xinitrc bei verwendung von xdm, gdm oder kdm
~/.Xmodmap Tastatur für X zuordnen oder verändern mit xmodmap
~/.fluxbox/keys Tastaturkürzel (a. Multimedia-Keys) in Fluxbox zuordnen

Bash Config

Suse7.3:              .bashrc   .profile  /etc/profile  gesourced bei Login mit:
ttyX                   2         3         1
grafischer Login       2         3         1
startx                 2         3         1
ssh                    2         3         1
Terminal Emulation     1
su (egal von wo)       1
scp                    1

Slack9.0:              /etc/profile  .profile  .bashrc   gesourced bei Login mit:
ttyX                   1             2
ssh                    1             2
Terminal Emulation     1             2
startx                 gar nix!
grafischer Login       noch nicht geprüft!
su (egal von wo)                               1
scp                                            1

Cacko on Zaurus        /etc/profile  ~/.profile  ~/.bashrc   gesourced bei Login mit:
ssh                    1             2
Terminal Emulation     1             2
su                                               1
su -                   1             2