Usefull 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'
view raw .bash_aliases hosted with ❤ by GitHub

Laissez un commentaire

Votre adresse e-mail ne sera pas publiée. Les champs obligatoires sont indiqués avec *

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors