Skip to content

Instantly share code, notes, and snippets.

@wynemo
Created October 11, 2016 02:47
Show Gist options
  • Save wynemo/3340846c9d8b577a95b6c178beef05da to your computer and use it in GitHub Desktop.
Save wynemo/3340846c9d8b577a95b6c178beef05da to your computer and use it in GitHub Desktop.
实用命令
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