特殊:Badtitle/NS100:LinuxFilesystemTreeOverview
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/LinuxFilesystemTreeOverview }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:LinuxFilesystemTreeOverview | UbuntuHelp:LinuxFilesystemTreeOverview | {{#if: | :}}LinuxFilesystemTreeOverview}}/af | • {{#if: UbuntuHelp:LinuxFilesystemTreeOverview|Afrikaans| [[::LinuxFilesystemTreeOverview/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:LinuxFilesystemTreeOverview | UbuntuHelp:LinuxFilesystemTreeOverview | {{#if: | :}}LinuxFilesystemTreeOverview}}/ar | • {{#if: UbuntuHelp:LinuxFilesystemTreeOverview|العربية| [[::LinuxFilesystemTreeOverview/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:LinuxFilesystemTreeOverview | UbuntuHelp:LinuxFilesystemTreeOverview | {{#if: | :}}LinuxFilesystemTreeOverview}}/az | • {{#if: UbuntuHelp:LinuxFilesystemTreeOverview|azərbaycanca| [[::LinuxFilesystemTreeOverview/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:LinuxFilesystemTreeOverview | UbuntuHelp:LinuxFilesystemTreeOverview | {{#if: | :}}LinuxFilesystemTreeOverview}}/bcc | • {{#if: UbuntuHelp:LinuxFilesystemTreeOverview|جهلسری بلوچی| [[::LinuxFilesystemTreeOverview/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:LinuxFilesystemTreeOverview | UbuntuHelp:LinuxFilesystemTreeOverview | {{#if: | :}}LinuxFilesystemTreeOverview}}/bg | • {{#if: UbuntuHelp:LinuxFilesystemTreeOverview|български| [[::LinuxFilesystemTreeOverview/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:LinuxFilesystemTreeOverview | UbuntuHelp:LinuxFilesystemTreeOverview | {{#if: | :}}LinuxFilesystemTreeOverview}}/br | • {{#if: UbuntuHelp:LinuxFilesystemTreeOverview|brezhoneg| [[::LinuxFilesystemTreeOverview/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:LinuxFilesystemTreeOverview | UbuntuHelp:LinuxFilesystemTreeOverview | {{#if: | :}}LinuxFilesystemTreeOverview}}/ca | • {{#if: UbuntuHelp:LinuxFilesystemTreeOverview|català| [[::LinuxFilesystemTreeOverview/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:LinuxFilesystemTreeOverview | UbuntuHelp:LinuxFilesystemTreeOverview | {{#if: | :}}LinuxFilesystemTreeOverview}}/cs | • {{#if: UbuntuHelp:LinuxFilesystemTreeOverview|čeština| [[::LinuxFilesystemTreeOverview/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:LinuxFilesystemTreeOverview | UbuntuHelp:LinuxFilesystemTreeOverview | {{#if: | :}}LinuxFilesystemTreeOverview}}/de | • {{#if: UbuntuHelp:LinuxFilesystemTreeOverview|Deutsch| [[::LinuxFilesystemTreeOverview/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:LinuxFilesystemTreeOverview | UbuntuHelp:LinuxFilesystemTreeOverview | {{#if: | :}}LinuxFilesystemTreeOverview}}/el | • {{#if: UbuntuHelp:LinuxFilesystemTreeOverview|Ελληνικά| [[::LinuxFilesystemTreeOverview/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:LinuxFilesystemTreeOverview | UbuntuHelp:LinuxFilesystemTreeOverview | {{#if: | :}}LinuxFilesystemTreeOverview}}/es | • {{#if: UbuntuHelp:LinuxFilesystemTreeOverview|español| [[::LinuxFilesystemTreeOverview/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:LinuxFilesystemTreeOverview | UbuntuHelp:LinuxFilesystemTreeOverview | {{#if: | :}}LinuxFilesystemTreeOverview}}/fa | • {{#if: UbuntuHelp:LinuxFilesystemTreeOverview|فارسی| [[::LinuxFilesystemTreeOverview/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:LinuxFilesystemTreeOverview | UbuntuHelp:LinuxFilesystemTreeOverview | {{#if: | :}}LinuxFilesystemTreeOverview}}/fi | • {{#if: UbuntuHelp:LinuxFilesystemTreeOverview|suomi| [[::LinuxFilesystemTreeOverview/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:LinuxFilesystemTreeOverview | UbuntuHelp:LinuxFilesystemTreeOverview | {{#if: | :}}LinuxFilesystemTreeOverview}}/fr | • {{#if: UbuntuHelp:LinuxFilesystemTreeOverview|français| [[::LinuxFilesystemTreeOverview/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:LinuxFilesystemTreeOverview | UbuntuHelp:LinuxFilesystemTreeOverview | {{#if: | :}}LinuxFilesystemTreeOverview}}/gu | • {{#if: UbuntuHelp:LinuxFilesystemTreeOverview|ગુજરાતી| [[::LinuxFilesystemTreeOverview/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:LinuxFilesystemTreeOverview | UbuntuHelp:LinuxFilesystemTreeOverview | {{#if: | :}}LinuxFilesystemTreeOverview}}/he | • {{#if: UbuntuHelp:LinuxFilesystemTreeOverview|עברית| [[::LinuxFilesystemTreeOverview/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:LinuxFilesystemTreeOverview | UbuntuHelp:LinuxFilesystemTreeOverview | {{#if: | :}}LinuxFilesystemTreeOverview}}/hu | • {{#if: UbuntuHelp:LinuxFilesystemTreeOverview|magyar| [[::LinuxFilesystemTreeOverview/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:LinuxFilesystemTreeOverview | UbuntuHelp:LinuxFilesystemTreeOverview | {{#if: | :}}LinuxFilesystemTreeOverview}}/id | • {{#if: UbuntuHelp:LinuxFilesystemTreeOverview|Bahasa Indonesia| [[::LinuxFilesystemTreeOverview/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:LinuxFilesystemTreeOverview | UbuntuHelp:LinuxFilesystemTreeOverview | {{#if: | :}}LinuxFilesystemTreeOverview}}/it | • {{#if: UbuntuHelp:LinuxFilesystemTreeOverview|italiano| [[::LinuxFilesystemTreeOverview/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:LinuxFilesystemTreeOverview | UbuntuHelp:LinuxFilesystemTreeOverview | {{#if: | :}}LinuxFilesystemTreeOverview}}/ja | • {{#if: UbuntuHelp:LinuxFilesystemTreeOverview|日本語| [[::LinuxFilesystemTreeOverview/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:LinuxFilesystemTreeOverview | UbuntuHelp:LinuxFilesystemTreeOverview | {{#if: | :}}LinuxFilesystemTreeOverview}}/ko | • {{#if: UbuntuHelp:LinuxFilesystemTreeOverview|한국어| [[::LinuxFilesystemTreeOverview/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:LinuxFilesystemTreeOverview | UbuntuHelp:LinuxFilesystemTreeOverview | {{#if: | :}}LinuxFilesystemTreeOverview}}/ksh | • {{#if: UbuntuHelp:LinuxFilesystemTreeOverview|Ripoarisch| [[::LinuxFilesystemTreeOverview/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:LinuxFilesystemTreeOverview | UbuntuHelp:LinuxFilesystemTreeOverview | {{#if: | :}}LinuxFilesystemTreeOverview}}/mr | • {{#if: UbuntuHelp:LinuxFilesystemTreeOverview|मराठी| [[::LinuxFilesystemTreeOverview/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:LinuxFilesystemTreeOverview | UbuntuHelp:LinuxFilesystemTreeOverview | {{#if: | :}}LinuxFilesystemTreeOverview}}/ms | • {{#if: UbuntuHelp:LinuxFilesystemTreeOverview|Bahasa Melayu| [[::LinuxFilesystemTreeOverview/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:LinuxFilesystemTreeOverview | UbuntuHelp:LinuxFilesystemTreeOverview | {{#if: | :}}LinuxFilesystemTreeOverview}}/nl | • {{#if: UbuntuHelp:LinuxFilesystemTreeOverview|Nederlands| [[::LinuxFilesystemTreeOverview/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:LinuxFilesystemTreeOverview | UbuntuHelp:LinuxFilesystemTreeOverview | {{#if: | :}}LinuxFilesystemTreeOverview}}/no | • {{#if: UbuntuHelp:LinuxFilesystemTreeOverview|norsk| [[::LinuxFilesystemTreeOverview/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:LinuxFilesystemTreeOverview | UbuntuHelp:LinuxFilesystemTreeOverview | {{#if: | :}}LinuxFilesystemTreeOverview}}/oc | • {{#if: UbuntuHelp:LinuxFilesystemTreeOverview|occitan| [[::LinuxFilesystemTreeOverview/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:LinuxFilesystemTreeOverview | UbuntuHelp:LinuxFilesystemTreeOverview | {{#if: | :}}LinuxFilesystemTreeOverview}}/pl | • {{#if: UbuntuHelp:LinuxFilesystemTreeOverview|polski| [[::LinuxFilesystemTreeOverview/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:LinuxFilesystemTreeOverview | UbuntuHelp:LinuxFilesystemTreeOverview | {{#if: | :}}LinuxFilesystemTreeOverview}}/pt | • {{#if: UbuntuHelp:LinuxFilesystemTreeOverview|português| [[::LinuxFilesystemTreeOverview/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:LinuxFilesystemTreeOverview | UbuntuHelp:LinuxFilesystemTreeOverview | {{#if: | :}}LinuxFilesystemTreeOverview}}/ro | • {{#if: UbuntuHelp:LinuxFilesystemTreeOverview|română| [[::LinuxFilesystemTreeOverview/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:LinuxFilesystemTreeOverview | UbuntuHelp:LinuxFilesystemTreeOverview | {{#if: | :}}LinuxFilesystemTreeOverview}}/ru | • {{#if: UbuntuHelp:LinuxFilesystemTreeOverview|русский| [[::LinuxFilesystemTreeOverview/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:LinuxFilesystemTreeOverview | UbuntuHelp:LinuxFilesystemTreeOverview | {{#if: | :}}LinuxFilesystemTreeOverview}}/si | • {{#if: UbuntuHelp:LinuxFilesystemTreeOverview|සිංහල| [[::LinuxFilesystemTreeOverview/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:LinuxFilesystemTreeOverview | UbuntuHelp:LinuxFilesystemTreeOverview | {{#if: | :}}LinuxFilesystemTreeOverview}}/sq | • {{#if: UbuntuHelp:LinuxFilesystemTreeOverview|shqip| [[::LinuxFilesystemTreeOverview/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:LinuxFilesystemTreeOverview | UbuntuHelp:LinuxFilesystemTreeOverview | {{#if: | :}}LinuxFilesystemTreeOverview}}/sr | • {{#if: UbuntuHelp:LinuxFilesystemTreeOverview|српски / srpski| [[::LinuxFilesystemTreeOverview/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:LinuxFilesystemTreeOverview | UbuntuHelp:LinuxFilesystemTreeOverview | {{#if: | :}}LinuxFilesystemTreeOverview}}/sv | • {{#if: UbuntuHelp:LinuxFilesystemTreeOverview|svenska| [[::LinuxFilesystemTreeOverview/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:LinuxFilesystemTreeOverview | UbuntuHelp:LinuxFilesystemTreeOverview | {{#if: | :}}LinuxFilesystemTreeOverview}}/th | • {{#if: UbuntuHelp:LinuxFilesystemTreeOverview|ไทย| [[::LinuxFilesystemTreeOverview/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:LinuxFilesystemTreeOverview | UbuntuHelp:LinuxFilesystemTreeOverview | {{#if: | :}}LinuxFilesystemTreeOverview}}/tr | • {{#if: UbuntuHelp:LinuxFilesystemTreeOverview|Türkçe| [[::LinuxFilesystemTreeOverview/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:LinuxFilesystemTreeOverview | UbuntuHelp:LinuxFilesystemTreeOverview | {{#if: | :}}LinuxFilesystemTreeOverview}}/vi | • {{#if: UbuntuHelp:LinuxFilesystemTreeOverview|Tiếng Việt| [[::LinuxFilesystemTreeOverview/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:LinuxFilesystemTreeOverview | UbuntuHelp:LinuxFilesystemTreeOverview | {{#if: | :}}LinuxFilesystemTreeOverview}}/yue | • {{#if: UbuntuHelp:LinuxFilesystemTreeOverview|粵語| [[::LinuxFilesystemTreeOverview/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:LinuxFilesystemTreeOverview | UbuntuHelp:LinuxFilesystemTreeOverview | {{#if: | :}}LinuxFilesystemTreeOverview}}/zh | • {{#if: UbuntuHelp:LinuxFilesystemTreeOverview|中文| [[::LinuxFilesystemTreeOverview/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:LinuxFilesystemTreeOverview | UbuntuHelp:LinuxFilesystemTreeOverview | {{#if: | :}}LinuxFilesystemTreeOverview}}/zh-hans | • {{#if: UbuntuHelp:LinuxFilesystemTreeOverview|中文(简体)| [[::LinuxFilesystemTreeOverview/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:LinuxFilesystemTreeOverview | UbuntuHelp:LinuxFilesystemTreeOverview | {{#if: | :}}LinuxFilesystemTreeOverview}}/zh-hant | • {{#if: UbuntuHelp:LinuxFilesystemTreeOverview|中文(繁體)| [[::LinuxFilesystemTreeOverview/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:LinuxFilesystemTreeOverview|:LinuxFilesystemTreeOverview|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :LinuxFilesystemTreeOverview/zh | | {{#ifexist: LinuxFilesystemTreeOverview/zh | | {{#ifeq: {{#titleparts:LinuxFilesystemTreeOverview|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:LinuxFilesystemTreeOverview|1|-1|}} | zh | | }}
"Linux systems organized files in a hierarchical filesystem tree, relationships are thought of in teams of children and parent. Here, a parent may have multiple children, but a child can only have one parent. In Ubuntu, root filesystem (/) become a parent, and then travel down into directories and subdirectories, so matter how many directories do you have, they only always have one parent (/)."
Ubuntu GNU/Linux Filesystem Tree Overview
-/ |--/bin |--/boot |--/cdrom |--/dev |--/etc |--/initrd |--/home | |--/home/sweet | |--/home/user |--/lib |--/lost+found |--/media | |--/media/cdrom | |--/media/hda* |--/mnt |--/opt |--/proc |--/root |--/sbin |--/srv | |--/srv/www |--/sys |--/tmp |--/usr | |--/usr/bin | |--/usr/doc | |--/usr/games | |--/usr/include | |--/usr/info | |--/usr/lib | |--/usr/local | |--/usr/sbin | |--/usr/share | |--/usr/src | |--/usr/X11R6 |--/var |--/var/log
What's in a Name?
/bin Is a place for most common use Linux program, like ls, mount, rm, and chmod.
/boot Store Linux kernel, a ramdisk image and bootloader configuration files (Lilo or Grub).
/dev For device files, these include hard disk(/dev/hda*), RAM(/dev/ram), CD-ROM(dev/cdrom) and terminal devices(/dev/tty).
/etc Contains configuration files for administration task. Some of files, such as passwd file, apache config, network config store in /etc.
/home Home sweet home, place for users' home directories.
/lib Contains very important dynamic libraries and place for kernel modules
/lost+found Some trash goes here!
/media Directory for mounting devices, such as external hard disk or removeable media (floppy, cdrom, dvdrom).
/mnt Same as /media, use to mounting devices, Since Breezy Ubuntu doesn't use /mnt as a default mounting directory, they move into /media.
/opt Use to store addition software for your system.
/proc A virtual filesystem that provides a mechanism for kernel to send information to processes.
/root The root user's home directory
/sbin Contains important administrative programs also daemon processes.
/srv The data directories of services such as HTTP (/srv/www)or FTP server.
/sys A /proc like file systems.
/tmp Place for temporary files used by applications.
/usr System resources, contains subdirectories such as /usr/bin, /usr/lib, /usr/share, /usr/include and /usr/doc.
/var Contains Directories of variable data that change rapidly. Inside there important subdirectory /var/log that manages logfiles of your system.