Use alias in bash for creating short-cuts to commonly run commands
vim ~/.bashrc
- add a line similar to the following to create the alias
1
alias j2dir="cd /home/user/this/long/and/annoyingly/deep/directory/workstuff"
source ~/.bashrc
- Let’s try
j2dir
“Stay away from those people who try to disparage your ambitions. Small minds will always do that, but great minds will give you a feeling that you can become great too.” — Mark Twain