Linux: Quickly accessing your project files

Sometimes, all you need is quick command which you can run and land on a directory you access most. In this case, on one of my test servers, I wanted to go to the main directory where I keep my websites. I just created an alias called ‘home’ and now I also use this to go into my directory.

alias home='cd /var/www/'

No memorization needed anymore and no time wasted finding where I kept everything.


Leave a Reply

Your email address will not be published. Required fields are marked *