Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Going home...' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Going home...
Authored by: tapella on May 12, '01 02:34:41AM

You can also change to your home directory by using the 'cd' command with no arguments. Just 'cd'. To go to a different user's home directory you can use the tilde (~) and their username, for example:
cd ~tapella

...would bring you to user tapella's home directory. This is usually useful for copying something from someone else's directory, as in "yourfriend: just grab foo.pl from my bin directory". You:
cp ~yourfriend/bin/foo.pl ~/bin
(This copies the file into your own bin directory and keeps its name as foo.pl).



[ Reply to This | # ]