Created
May 16, 2018 15:06
-
-
Save Eddy-Barraud/52eb271fd25beec80d53298ce56e2bca to your computer and use it in GitHub Desktop.
Usefull bash aliases : location in ~/.bash_aliases
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 header='curl -I --insecure' | |
alias top='top -d1' | |
alias ttfb='curl -o /dev/null -w "Connect: %{time_connect} TTFB: %{time_starttransfer} Total time: %{time_total} \n"' | |
alias avg='cat /proc/loadavg' | |
alias cs='pidstat -hw | head -3 && pidstat -hw | tail -n +3 | sort -nr -k 4 | head -n 10' | |
alias pflog='cat /var/log/mail.log | /root/scripts/pflogsumm-1.1.1/pflogsumm.pl' | |
alias logmail='tail -f /var/log/mail.log' | |
alias dl='aria2c -x5' | |
alias ngxreport='goaccess -f /var/log/nginx/access.log -a > report.html' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment