A Few Handy Bash Shell Aliases

Reload bash_profile Apply any changes made to ~/.bash_profile with reload: alias reload='source ~/.bash_profile' Network Connections List all network connections with nets: alias nets='lsof -i' Internet Speed test Speed test using a 100Mbyte file from OVH Hosting: alias speedtest='curl -o /dev/null http://ovh.net/files/100Mio.dat' WAN IP Address Show WAN IP address with myip: alias myip='curl ifconfig.co' Web Server Banner A curl function to grab web server banner information with headers followed by a URL:...

25 September, 2017 · 2 min · Naz Markuta