Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

jincheker

macrumors newbie
Original poster
Sep 16, 2009
29
17
MD
If I'm in the home directory, that is ~, how can I directly change to a directory that is not in the same directory of ~? For example change to /usr/bin/

Right now, I do cd .. several times, until i reach the root, and then cd to usr/bin/

Is there a fast way to do it? Thanks
 
If I'm in the home directory, that is ~, how can I directly change to a directory that is not in the same directory of ~? For example change to /usr/bin/

Right now, I do cd .. several times, until i reach the root, and then cd to usr/bin/

Is there a fast way to do it? Thanks

cd /usr/bin/
 
If I'm in the home directory, that is ~, how can I directly change to a directory that is not in the same directory of ~? For example change to /usr/bin/

Right now, I do cd .. several times, until i reach the root, and then cd to usr/bin/

Is there a fast way to do it? Thanks
Just enter: cd /usr/bin
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.