更新时间: 2018-02-24 11:05:50#Linux ls命令“ls -1”的意思是让ls的输出在一列中显示。 ls-f 减少排序,在单文件特别多的时候 (包含. | ..)ls-U 减少排序,在单文件特别多的时候(不包含. | ..)[test] ls -f. .. 1 2 3 a.out test test.c test2[test] ls -U 1 2 3 a.out test test.c test2 项目中遇到一个文件夹放了上百万张照片, 用 ls -U | wc -l 特快 1-2秒出结果 一般在.bash_profile中, alias ll='ls -l'