ls -a查看全部文件
ls -t按照时间排序
ls -i 查看inode号
ls -l查看文件的详细信息
[root@localhost ~]# ls -l
总用量 4
-rw-------. 1 root root 1418 1月 10 08:17 anaconda-ks.cfg
ls -h 显示文件大小的时候可以自动变换单位
[root@localhost ~]# ls -lh
总用量 4.0K
-rw-------. 1 root root 1.4K 1月 10 08:17 anaconda-ks.cfg
ls -d 只列文件本身
[root@localhost proc]# ls -d /tmp/
/tmp/ls命令
原文:http://blog.51cto.com/12777709/2065679