Speedtest from Terminal OSX


1 min read

Open terminal and copy-paste

$ curl -o /dev/null http://speedtest.wdc01.softlayer.com/downloads/test10.zip


Create permanent alias

$ nano ~/.bash\_profile

and insert this:

alias speedtest="curl -o /dev/null http://speedtest.wdc01.softlayer.com/downloads/test10.zip"

another useful alias

alias clr="clear" # Clear your terminal screen
alias flush="sudo discoveryutil udnsflushcaches" # Flush DNS (Yosemite)
alias flush="killall -HUP mDNSResponder" # Flush DNS (Mavericks, Mountain Lion, Lion)
alias flush="dscacheutil -flushcache" # Flush DNS (Snow Leopard, Leopard)
alias ip="curl icanhazip.com" # Your public IP address
alias ll="ls -al" # List all files in current directory in long list format
alias ldir="ls -al | grep ^d" # List all directories in current directory in long list format
alias o="open ." # Open the current directory in Finder
alias ut="uptime" # Computer uptime


after saving the .bash_profile close your current window terminal and reopen