Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
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/'
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