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.


Notice: Theme without comments.php is deprecated since version 3.0.0 with no alternative available. Please include a comments.php template in your theme. in /var/www/ on line 4019

Leave a Reply

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