Be lazier navigating to common directories
I frequently have certain directories that I need to get to. Instead of typing out a full path (cd /var/www/my-site/app) I've created a bash alias:
alias cds='clear ; cd /var/www/my-site/app'
Then to get where I need to go, I can just type cds and hit return.
Written by Omni Adams
Related protips
1 Response
You might also want to take a look at z
After you cd
into a couple of directories, you'll just have to do:
$> z folderName <enter>
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Shell
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#