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

wdcglobal

macrumors newbie
Original poster
Mar 22, 2006
8
0
when changing directories using ssh what do i input to change into a directory with two words? ex: /User/name/music/the band

i have always had this problem and can never find any info. in the past i always changed the directory to one word, but i'm sick of that crap. the same thing goes for telnet and ftp access.
 
To add to that, you can also enclose the directory name in quotes. Though, what I like best is typing a small amount of the name and hitting tab. The shell will automatically complete enough of it to be unique. If several files/directories exist with the same letters at the start, it will only complete up to that point. If you hit tab again, it will list all possibilities. And as soon as you type enough to uniquely identify one of them, the next tab will complete the whole thing, including any necessary backslashes.

The tab character is one of my best friends -- saves me thousands of unnecessary keystrokes! ;)
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.