In this post I will introduce some of my favorite shell aliases.

alias calc='bc -l <<<'

This one lets you calculate directly in the bash terminal like that: calc 1+1
If you wanna use brackets you must enclose the expression in quotes: calc "(4+6)/2"

alias ports='lsof -i -P'

This one shows all network connections to your host. It displays more information than netstat -anp and formats it in a nice way.

alias psu='ps -fHU $USER'

This one shows the processes of the current user in hierarchical order. Nice to see whats going on.

alias vip='sudo su'

I use this as long as I can remember for switching to root.

Hope it helps,