gax1985 Posted September 30, 2004 Report Share Posted September 30, 2004 hey , how do you access long named directories in the shell ? (say cd /home/***/my programs ? ) [moved from Software by spinynorman] Quote Link to comment Share on other sites More sharing options...
papaschtroumpf Posted September 30, 2004 Report Share Posted September 30, 2004 I think what you're asking is how do I access directories with a space in the name? you can use quotes around the name: cd '/home/papaschtroumpf/my programs' you can use the \ character to "escape" the space: cd /home/papaschtroumpf/my\ programs or what I do is use the tab key autocompletion so I don't have to type the whole thing: cd /home/pa press tab and it automatically complete to cd /home/papaschtroumpf then complete "/my": cd /home/papaschtroumpf/my press tab again and the shell completes the whole name: cd /home/papaschtroumpf/my\ programs Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.