詳解 Linux 常用目錄的作用
詳解 Linux 常用目錄的作用
一 常用一級(jí)目錄


注意:
1、根目錄下的bin和sbin,usr目錄下的bin和sbin,這四個(gè)目錄都是用來(lái)保存系統(tǒng)命令的。
2、bin目錄下的命令時(shí)任何用戶都能執(zhí)行,sbin目錄下的命令只有超級(jí)用戶才能執(zhí)行。
3、media用來(lái)掛載光盤,misc掛載磁帶機(jī),mnt掛載U盤。它們都是空目錄。
4、proc和sys目錄不能直接操作,這兩個(gè)目錄保存的是內(nèi)存掛載點(diǎn)。
5、可以在家目錄root或home,以及tmp目錄下隨便放內(nèi)容。
二 實(shí)戰(zhàn)
[root@localhost test]# cd / [root@localhost /]# ls bin dev home lib media mydata proc run srv tmp var boot etc japan lib64 mnt opt root sbin sys usr [root@localhost /]# ls /usr bin games lib libexec sbin src etc include lib64 local share tmp [root@localhost /]# cd /dev [root@localhost dev]# ls autofs mqueue stdout tty35 tty63 block net tty tty36 tty7 bsg network_latency tty0 tty37 tty8 btrfs-control network_throughput tty1 tty38 tty9 bus null tty10 tty39 ttyS0 cdrom nvram tty11 tty4 ttyS1 char oldmem tty12 tty40 ttyS2 console port tty13 tty41 ttyS3 core ppp tty14 tty42 uhid cpu ptmx tty15 tty43 uinput cpu_dma_latency pts tty16 tty44 urandom crash random tty17 tty45 usbmon0 disk raw tty18 tty46 usbmon1 fd rtc tty19 tty47 vcs full rtc0 tty2 tty48 vcs1 fuse sda tty20 tty49 vcs2 hidraw0 sda1 tty21 tty5 vcs3 hpet sda2 tty22 tty50 vcs4 hugepages sda3 tty23 tty51 vcs5 initctl sda4 tty24 tty52 vcs6 input sda5 tty25 tty53 vcsa kmsg sda6 tty26 tty54 vcsa1 log sda7 tty27 tty55 vcsa2 loop-control sg0 tty28 tty56 vcsa3 lp0 sg1 tty29 tty57 vcsa4 lp1 shm tty3 tty58 vcsa5 lp2 snapshot tty30 tty59 vcsa6 lp3 snd tty31 tty6 vfio mapper sr0 tty32 tty60 vga_arbiter mcelog stderr tty33 tty61 vhost-net mem stdin tty34 tty62 zero [root@localhost dev]# ls /lib alsa grub kbd sendmail binfmt.d java kdump sendmail.postfix cpp java-1.5.0 kernel sse2 crda java-1.6.0 locale sysctl.d cups java-1.7.0 modprobe.d systemd debug java-1.8.0 modules tmpfiles.d dracut java-ext modules-load.d tuned firewalld jvm mozilla udev firmware jvm-commmon polkit-1 udisks2 games jvm-exports python2.7 x86_64-redhat-linux6E gcc jvm-private rpm yum-plugins [root@localhost dev]# cd / [root@localhost /]# ls bin dev home lib media mydata proc run srv tmp var boot etc japan lib64 mnt opt root sbin sys usr
如有疑問(wèn)請(qǐng)留言或者到本站社區(qū)交流討論,感謝閱讀,希望能幫助到大家,謝謝大家對(duì)本站的支持!
相關(guān)文章
ubuntu下chorme提示輸入秘鑰環(huán)的解決方法
這篇文章主要給大家介紹了ubuntu下chorme提示輸入秘鑰環(huán)的解決方法,文中介紹的非常詳細(xì),對(duì)大家具有一定的參考價(jià)值,需要的朋友們下面來(lái)一起看看吧。2017-04-04
centos 6.8命令行下使用pptpsetup進(jìn)行pptp撥號(hào)的實(shí)現(xiàn)方法
centos 6.8 命令行下可使用pptpsetup進(jìn)行pptp撥號(hào),首先安裝ppp,pptp和pptp-setup三個(gè)包,使用pptpsetup進(jìn)行連接,下面給大家介紹的非常詳細(xì),感興趣的朋友一起看看吧2016-10-10
linux 遠(yuǎn)程控制windows系統(tǒng)下的程序(三種方法)
這篇文章主要介紹了linux 遠(yuǎn)程控制windows下的程序,本文通過(guò)三種方法給大家詳細(xì)介紹,需要的朋友可以參考下2019-10-10
centos7 mysql數(shù)據(jù)庫(kù)安裝和配置
本篇文章主要介紹了centos7 mysql數(shù)據(jù)庫(kù)安裝和配置 ,非常具有實(shí)用價(jià)值,希望對(duì)大家實(shí)用mysql能夠有所幫助2017-01-01
Shell 數(shù)組與關(guān)聯(lián)數(shù)組詳解及實(shí)例代碼
這篇文章主要介紹了 Shell 數(shù)組與關(guān)聯(lián)數(shù)組詳解及實(shí)例代碼的相關(guān)資料,需要的朋友可以參考下2017-01-01

