Skip to content

Instantly share code, notes, and snippets.

@tshev
Last active August 29, 2015 13:59
Show Gist options
  • Save tshev/10548370 to your computer and use it in GitHub Desktop.
Save tshev/10548370 to your computer and use it in GitHub Desktop.
Bash commands for
# download http://api.rubyonrails.org
wget -r -k -p http://api.rubyonrails.org
# find in directory by pattern
grep --include={*.c,*.h} -r 'directory' -e "pattern"
grep --exclude={*.c,*.h} -r 'directory' -e "pattern"
# find files bigger then 32M
find . -type f +32M
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment