Last active
November 13, 2018 16:14
-
-
Save simbus82/2f2d65cdbb6fd03ab6fd99446786fb28 to your computer and use it in GitHub Desktop.
Useful linux command
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
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