Skip to content

Instantly share code, notes, and snippets.

@Eddy-Barraud
Created May 16, 2018 15:06
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 Eddy-Barraud/52eb271fd25beec80d53298ce56e2bca to your computer and use it in GitHub Desktop.
Save Eddy-Barraud/52eb271fd25beec80d53298ce56e2bca to your computer and use it in GitHub Desktop.
Usefull bash aliases : location in ~/.bash_aliases
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