目錄結(jié)構(gòu)

Screen Shot 2018-01-06 at 11.54.32 PM.png
image.png

In Linux/Unix, the common premise is that everything is a file.
bin:
binaries, 存放二進制可執(zhí)行文件

sbin:
super user binaries, 存放二進制可執(zhí)行文件,只有 root 才能訪問

Linux File System Hierarchy

If you look at the Linux file hierarchy, you find the following :

/bin - Common binaries

/sbin - Binaries used for system administration are placed here.

/boot - Static files of the boot loader. Usually it contain the Linux kernel, Grub boot loader files and so on.

/dev - Device files such as your CD drive, hard disk, and any other physical device.

/home - User HOME directories are found here. In unices like FreeBSD, the HOME directories are found in /usr/home. And in Solaris it is in /export. So quite a big difference here.

/lib - Essential shared libraries and kernel modules.

/mnt - Temporary mount point useful for when you insert your USB stick and it gets mounted under /mnt. Though in Ubuntu and the likes, it is usually mounted under /media.

/var - Variable data, such as logs, news, mail spool files and so on which is constantly being modified by various programs running on your system.

/tmp - Temporary files are placed here by default.

/usr - The secondary hierarchy which contain its own bin and sbin sub-directories.

/etc - Usually contain the configuration files for all the programs that run on your Linux/Unix system.

/opt - Third party application packages which does not conform to the standard Linux file hierarchy can be installed here.

/srv - Contains data for services provided by the system.

And of course there is the /proc directory which does not actually reside on the disk.

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
  • 序言:七十年代末仔燕,一起剝皮案震驚了整個濱河市幅虑,隨后出現(xiàn)的幾起案子叫确,更是在濱河造成了極大的恐慌膘怕,老刑警劉巖仿野,帶你破解...
    沈念sama閱讀 218,122評論 6 505
  • 序言:濱河連續(xù)發(fā)生了三起死亡事件匆背,死亡現(xiàn)場離奇詭異鸣奔,居然都是意外死亡典尾,警方通過查閱死者的電腦和手機役拴,發(fā)現(xiàn)死者居然都...
    沈念sama閱讀 93,070評論 3 395
  • 文/潘曉璐 我一進店門,熙熙樓的掌柜王于貴愁眉苦臉地迎上來钾埂,“玉大人河闰,你說我怎么就攤上這事∪熳希” “怎么了淤击?”我有些...
    開封第一講書人閱讀 164,491評論 0 354
  • 文/不壞的土叔 我叫張陵,是天一觀的道長故源。 經(jīng)常有香客問我污抬,道長,這世上最難降的妖魔是什么? 我笑而不...
    開封第一講書人閱讀 58,636評論 1 293
  • 正文 為了忘掉前任印机,我火速辦了婚禮矢腻,結(jié)果婚禮上,老公的妹妹穿的比我還像新娘射赛。我一直安慰自己多柑,他們只是感情好,可當(dāng)我...
    茶點故事閱讀 67,676評論 6 392
  • 文/花漫 我一把揭開白布楣责。 她就那樣靜靜地躺著竣灌,像睡著了一般。 火紅的嫁衣襯著肌膚如雪秆麸。 梳的紋絲不亂的頭發(fā)上初嘹,一...
    開封第一講書人閱讀 51,541評論 1 305
  • 那天,我揣著相機與錄音沮趣,去河邊找鬼屯烦。 笑死,一個胖子當(dāng)著我的面吹牛房铭,可吹牛的內(nèi)容都是我干的驻龟。 我是一名探鬼主播,決...
    沈念sama閱讀 40,292評論 3 418
  • 文/蒼蘭香墨 我猛地睜開眼缸匪,長吁一口氣:“原來是場噩夢啊……” “哼翁狐!你這毒婦竟也來了?” 一聲冷哼從身側(cè)響起凌蔬,我...
    開封第一講書人閱讀 39,211評論 0 276
  • 序言:老撾萬榮一對情侶失蹤露懒,失蹤者是張志新(化名)和其女友劉穎,沒想到半個月后龟梦,有當(dāng)?shù)厝嗽跇淞掷锇l(fā)現(xiàn)了一具尸體隐锭,經(jīng)...
    沈念sama閱讀 45,655評論 1 314
  • 正文 獨居荒郊野嶺守林人離奇死亡,尸身上長有42處帶血的膿包…… 初始之章·張勛 以下內(nèi)容為張勛視角 年9月15日...
    茶點故事閱讀 37,846評論 3 336
  • 正文 我和宋清朗相戀三年计贰,在試婚紗的時候發(fā)現(xiàn)自己被綠了钦睡。 大學(xué)時的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片。...
    茶點故事閱讀 39,965評論 1 348
  • 序言:一個原本活蹦亂跳的男人離奇死亡躁倒,死狀恐怖荞怒,靈堂內(nèi)的尸體忽然破棺而出,到底是詐尸還是另有隱情秧秉,我是刑警寧澤褐桌,帶...
    沈念sama閱讀 35,684評論 5 347
  • 正文 年R本政府宣布,位于F島的核電站象迎,受9級特大地震影響荧嵌,放射性物質(zhì)發(fā)生泄漏呛踊。R本人自食惡果不足惜,卻給世界環(huán)境...
    茶點故事閱讀 41,295評論 3 329
  • 文/蒙蒙 一啦撮、第九天 我趴在偏房一處隱蔽的房頂上張望谭网。 院中可真熱鬧,春花似錦赃春、人聲如沸愉择。這莊子的主人今日做“春日...
    開封第一講書人閱讀 31,894評論 0 22
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽锥涕。三九已至,卻和暖如春狭吼,著一層夾襖步出監(jiān)牢的瞬間层坠,已是汗流浹背。 一陣腳步聲響...
    開封第一講書人閱讀 33,012評論 1 269
  • 我被黑心中介騙來泰國打工搏嗡, 沒想到剛下飛機就差點兒被人妖公主榨干…… 1. 我叫王不留窿春,地道東北人拉一。 一個月前我還...
    沈念sama閱讀 48,126評論 3 370
  • 正文 我出身青樓采盒,卻偏偏與公主長得像,于是被迫代替她去往敵國和親蔚润。 傳聞我的和親對象是個殘疾皇子磅氨,可洞房花燭夜當(dāng)晚...
    茶點故事閱讀 44,914評論 2 355

推薦閱讀更多精彩內(nèi)容

  • **2014真題Directions:Read the following text. Choose the be...
    又是夜半驚坐起閱讀 9,497評論 0 23
  • 這種說法,至今仍是美容院的主流嫡纠,每一個美容顧問烦租,都會煞有介事地對客戶進行一番教育,盡管我從未見過美容的老板除盏、員工皮...
    晶晶_b022閱讀 348評論 0 0
  • 你的夢叉橱, 不在夢里, 在陽光照亮的地方者蠕。
    小劇在成長閱讀 93評論 0 2
  • 未保價快遞丟失踱侣、損壞賠償粪小,處理按照快遞企業(yè)提供的協(xié)議進行處理,賠償數(shù)額不超過運費的三倍抡句。 《快遞市場管理辦法》第二...
    a565b96870bc閱讀 1,003評論 2 1
  • 電腦用了3-4年探膊,運行速度就變慢,還動不動死機待榔,容易耽誤事逞壁。 在公司,通常能找信息中心維修,一重啟腌闯,二殺毒袭灯,三就系...
    妙嗚閱讀 338評論 0 0