Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
becki:linux:important_files_and_directories [2010-01-20 09:07] becki created |
becki:linux:important_files_and_directories [2011-10-19 07:57] (aktuell) becki |
||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
- | <code> | + | ====== Important Files and Directories ====== |
- | /boot/config Kernel Compiler Configuration | + | |
- | /dev/cdrom Symlink für Cdrom-LW | + | See also [[ibm>linux/library/l-config.html|Understanding Linux configuration files]], [[http://www.pathname.com/fhs/|Filesystem Hierarchy Standard]], [[wp>Filesystem_Hierarchy_Standard]] |
- | /dev/dvd Symlink für DVD-LW auf z.B. /dev/hdd | + | SW = Slackware spezifisch |
- | /dev/hda 1. Ide-Laufwerk | + | SU = Suse spezifisch |
- | /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-Laufwerk | + | |
- | /dev/ttyS0 erste serielle Schnittstelle | + | |
- | /dev/ttyX Device Name für echtes Terminal | + | |
- | /etc/DIR_COLORS Farben & Optionen für ls per Befehl dircolors (SW) | + | ===== /boot == |
- | /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 Konfiguration der Runlevelss | + | |
- | /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 | + | |
- | # see also "man proc": | + | | /boot/config | Kernel Compiler Configuration | |
- | /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/doc (SW) Doku zu Paketen, gleiches in usr/share/doc | + | ===== /dev == |
- | /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/log/packages (SW) Beschreibungen installierter Slackware Pakete | + | | /dev/cdrom | Symlink für Cdrom-LW | |
- | /var/log/scripts (SW) Scripts zur (De)Installation von Paketen ? | + | | /dev/dvd | Symlink für DVD-LW auf z.B. /dev/hdd | |
- | /var/mail/<user> local email inbox (mbox) | + | | /dev/hda | 1. Ide-Laufwerk | |
- | /var/run/<appname>.pid Contains the process ID of deamon <appname> | + | | /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), [[https://wiki.archlinux.org/index.php//dev/shm|source]] | | ||
+ | | /dev/ttyS0 | erste serielle Schnittstelle | | ||
+ | | /dev/ttyX | Device Name für echtes Terminal | | ||
- | ~/.profile konfiguriert die Bash für einen User | + | ===== /etc == |
- | ~/.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 | + | |
- | </code> | + | |
- | See also [[ibm>linux/library/l-config.html|Understanding Linux configuration files]], [[http://www.pathname.com/fhs/|Filesystem Hierarchy Standard]], [[wp>Filesystem_Hierarchy_Standard]] | + | | /etc/DIR_COLORS | Farben & Optionen für ls per Befehl dircolors (SW) | |
- | SW = Slackware spezifisch | + | | /etc/HOSTNAME | Host- & Domainname, wird von rc.M ausgelesen | |
- | SU = Suse spezifisch | + | | /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 [[http://www.itworld.com/operating-systems/103722/unix-how-to-linux-etcinittab-file|Unix How-To: the Linux /etc/inittab file]], [[man>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 == | ||
<code> | <code> |