目錄處理命令 : ls
所在路徑 /bin/ls
執行權限:所有用戶
? 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 [root@localhost ~]# ls anaconda-ks.cfg install.log.syslog VMwareTools-9.6.2-1688356.tar.gz Desktop test2.txt vmware-tools-distrib install.log test.txt [root@localhost ~]# ls -alh 總計 59M drwxr-x--- 19 root root 4.0K 11-30 20:33 . drwxr-xr-x 24 root root 4.0K 11-30 19:11 .. -rw------- 1 root root 1.3K 11-30 20:59 anaconda-ks.cfg -rw------- 1 root root 4.8K 11-30 20:33 .bash_history -rw-r--r-- 1 root root 24 2006-07-13 .bash_logout -rw-r--r-- 1 root root 191 11-30 19:25 .bash_profile -rw-r--r-- 1 root root 176 2006-07-13 .bashrc drwx------ 2 root root 4.0K 11-30 21:42 .chewing drwx------ 3 root root 4.0K 11-30 17:50 .config -rw-r--r-- 1 root root 100 2006-07-13 .cshrc drwxr-xr-x 3 root root 4.0K 11-30 13:52 Desktop -rw------- 1 root root 26 11-30 21:42 .dmrc drwxr-x--- 2 root root 4.0K 11-30 21:43 .eggcups drwx------ 4 root root 4.0K 11-30 19:15 .gconf drwx------ 2 root root 4.0K 12-01 12:11 .gconfd drwxr-xr-x 3 root root 4.0K 11-30 21:42 .gnome drwx------ 6 root root 4.0K 11-30 21:42 .gnome2 drwx------ 2 root root 4.0K 11-30 21:42 .gnome2_private drwxr-xr-x 2 root root 4.0K 11-30 21:43 .gstreamer-0.10 -rw-r--r-- 1 root root 81 11-30 21:42 .gtkrc-1.2-gnome2 -rw------- 1 root root 567 11-30 19:15 .ICEauthority -rw-r--r-- 1 root root 27K 11-30 20:58 install.log -rw-r--r-- 1 root root 3.6K 11-30 20:57 install.log.syslog drwx------ 3 root root 4.0K 11-30 21:43 .metacity drwx------ 4 root root 4.0K 11-30 13:52 .mozilla -rw------- 1 root root 40 11-30 20:20 .mysql_history drwxr-xr-x 3 root root 4.0K 11-30 21:42 .nautilus drwxr-xr-x 3 root root 4.0K 11-30 21:42 .redhat drwx------ 4 root root 4.0K 11-30 13:49 .scim -rw-r--r-- 1 root root 129 2006-07-13 .tcshrc -rw-r--r-- 1 root root 4.2K 11-30 20:27 test2.txt -rw-r--r-- 1 root root 16K 11-30 20:27 .test2.txt.swp -rw-r--r-- 1 root root 779 11-30 16:28 test.txt drwx------ 2 root root 4.0K 11-30 21:43 .Trash -rw------- 1 root root 5.4K 11-30 20:33 .viminfo -r--r--r-- 1 root root 59M 11-30 21:44 VMwareTools-9.6.2-1688356.tar.gz drwxr-xr-x 7 root root 4.0K 2014-03-22 vmware-tools-distrib -rw-r--r-- 1 root root 9.6K 11-30 20:33 .xsession-errors [root@localhost ~]# ls -i 425993 anaconda-ks.cfg 426072 test2.txt 426023 Desktop 426065 test.txt 425986 install.log 426054 VMwareTools-9.6.2-1688356.tar.gz 425987 install.log.syslog 458753 vmware-tools-distrib