Created
January 7, 2015 13:38
-
-
Save xdbaqiao/860126467d89083bb4ba to your computer and use it in GitHub Desktop.
文件排序
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
当前目录文件从大到小排序: | |
ls -lS | |
当前目录,包含子目录文件从大到小排序 | |
find ./ -type f -exec ls -s {} \; | sort -n -r | |
对当前目录下的子目录进行排序 | |
du -b --max-depth=1 | sort -n -r |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment