command path question
(os) RH 7.1
ok, If I'm on my linux box and i'm networked to my windows box in a terminal window ie: cd /root/mnt/winbox/C and then I do ls command it lists files ok after C if i type a file that has a one word name it will open like WINDOWS. But if i type MY Documents it get as far as My: and stops. What do I have to do to get it to open a two word file such as My Documents ? Thanks ! |
Not quite sure exactly what you mean however:
to cd to mydocuments cd my documents won't work need to do cd "my documents" hope this helps |
You must escape spaces with \ (back slash character)like this
ls My\ Documents or put the whole thing in double quotes ls "My Documents" |
Ok now what if I want to open say a jpg pic in my documents??
|
what about it? you'd run a program with the file name as the input.... :confused:
|
All times are GMT -5. The time now is 06:30 AM. |