ls -1的用法 .
ls -1的用法 .-1 list one file per line
之前刚学的时候貌似见过这个命令,但是在长期的学习中,貌似再也没有用过这个命令,记得
之前有人想用这个功能,但是却没有想起这个命令,现在拿来和大家分享一下~ls -1
apache-maven-2.2.1-bin.tar.gz
apache-tomcat-6.0.30
apache-tomcat-6.0.30.zip
jdk-6u5-linux-x64.bin
jetty-6.1.14-fgw-aps.zip
jetty-distribution-7.3.0.v20110203.zip
moni2.tar.gz
ouput.log
status.sh
ls -l
total 149780
-rw-r--r-- 1 root root2840961 Aug72009 apache-maven-2.2.1-bin.tar.gz
drwxr-xr-- 2 root root 4096 Jul5 10:45 apache-tomcat-6.0.30
-rw-r--r-- 1 root root6908320 Jun 30 17:51 apache-tomcat-6.0.30.zip
-rwxr-xr-- 1 root root 63724381 Jun 30 17:51 jdk-6u5-linux-x64.bin
-rw-r--r-- 1 root root 24942637 Jul 11 16:59 jetty-6.1.14-fgw-aps.zip
-rw-r--r-- 1 root root5910895 Apr32011 jetty-distribution-7.3.0.v20110203.zip
-rw-r--r-- 1 root root 48835553 Jun 30 17:51 moni2.tar.gz
-rw-r--r-- 1 root root 211 Nov 14 16:35 ouput.log
-rw-r--r-- 1 root root 164 Oct 18 15:19 status.sh 因为它只能用来看看,在脚本编写的时候没有用处。
页:
[1]