Created
October 11, 2016 02:47
-
-
Save wynemo/3340846c9d8b577a95b6c178beef05da to your computer and use it in GitHub Desktop.
实用命令
This file contains hidden or 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
| grep -irnI 'foo' * # find text foo in current folder | |
| find . -iname '*bar* # find file that matches bar | |
| du --max-depth=1 -h # list size of each in current folder | |
| df -h # disk size | |
| rsync -avzp -e 'ssh -i /tmp/ttt' /path1 user@server:/path2/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment