Step up your command line game with some aliases.

Here are some I like:

# general
alias l='ls -ltr'
alias pbcopy='xclip -selection clipboard'

# shortcuts
alias c='cd ~/Code'
alias ~="cd ~"
alias sites-available='cd /etc/nginx/sites-available'

# launch desktop programs
alias C='code .'

# laravel
alias pamf='php artisan migrate:fresh'
alias pat='php artisan tinker'
alias pu="vendor/phpunit/phpunit/phpunit"
alias custom-laravel='sh ~/Code/custom-laravel/'

# clouds
alias terminator='ssh forge@12.345.67.89'
alias robocop='ssh forge@'

# handle aliases with ease
alias set_alias='sudo nano ~/.bash_aliases && source ~/.bashrc'

To get started (on Ubuntu), open (or create) ~/.bash_aliases and fill in your own.

Then restart the console, or run

source ~/.bashrc

Pro tip: copy the last alias in the list above to automate this.

Thank you for stopping by. Contact or fork me at