Possibly the dumbest question I would ever expect to ask
Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Possibly the dumbest question I would ever expect to ask
I have been using linux for quite some time now, but there is one thing that is REALLY erking me........
I dual boot XP and FC4, That works OK (wish I could just get rid of XP all together). My problem is with the command prompt. I mount the windows directory, usually with:
# mount /dev/hda1 /windows
Works fine, I can access the folder ok. But, I cannot cd to folders with names containing spaces! If I type ls, they exist..... so I know they are readable to linux. I can do this fine from the desktop (Gnome or KDE) but for some reason not from the command line. I tried using for example:
# cd /windows/Documents_and_Settings
#cd /windows/Documents%&and%&Settings
#cd /windows/Documents&%and&%Settings
#cd /windows/Documents%and%settings
as well as ALOT of other ascii combos I thought might work.
What makes it possible for gnome and KDE to navigate these folders?
What's with all this pointless typing? Haven't you discovered the awsomeness that is TAB completion?
Type part of the file name then hit TAB and the directory will be typed for you. If there is more than one match then hit TAB again and it will show you what matches what you have so far.
Plus, this helps to cutdown on typing mistakes which waste time.
Try it out, I prommise that you will use it all the time.
In fact, I use it so much that I accidently assume that everything has tab complete and will hit TAB when I'm typing URLs sometimes.
I did use it for a long time, then I started using DOS again for a while (installing OS's for people) and got used to the DOS restrictions again.
It's really annoying to hit the up arrow and NOT have your last command listed again. LOL
I'll start using it again now that you reminded me although the escape is still very valid and useful info too
I didn't mean to suggest that knowing the escape character was unimportant---quite the contrary, you gotta know that. I just wanted to point out that TAB rules!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.