Last active
June 9, 2018 15:43
-
-
Save geryit/ab4eac0eed0d92739b78997c926ad036 to your computer and use it in GitHub Desktop.
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
alias upgrade="sudo apt-get dist-upgrade -y && sudo apt-get clean && sudo apt-get autoclean -y && sudo apt-get autoremove -y && sudo reboot" | |
alias apache-log="sudo tail -f /var/log/apache2/error.log" | |
alias apache-restart="sudo apachectl configtest && sudo systemctl restart apache2" | |
alias find-big-files="du -aBM 2>/dev/null | sort -nr | head -n 50 | more" | |
alias find-large-files="cd /;du -aBM 2>/dev/null | sort -nr | head -n 50 | more" | |
alias space-left="df -h" | |
alias ram-left="free --human" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment