Skip to content

Instantly share code, notes, and snippets.

@simbus82
Last active November 13, 2018 16:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save simbus82/2f2d65cdbb6fd03ab6fd99446786fb28 to your computer and use it in GitHub Desktop.
Save simbus82/2f2d65cdbb6fd03ab6fd99446786fb28 to your computer and use it in GitHub Desktop.
Useful linux command
find . -type f -exec chmod 644 {} \;
find . -type d -exec chmod 755 {} \;
sudo /etc/init.d/redis_6379 restart
find . -name "*.jpa" -type f -print0 | du -c --files0-from=- | awk 'END{print $1}'
wget -m --user=NAME --password='PASSWORD' ftp://
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment