Link to home
Start Free TrialLog in
Avatar of fcek
fcekFlag for Ireland

asked on

Fedora - n00b - do these / \ have to be used ? an alternative command?


Why did a colleague use this command
cd /users\ folders/users-personal/

To get to this pwd
/users folders/users-personal

he could have gone
cd "users folders"
then
cd "users-personal"

but that was two lines of code I admit

is there an easier way to jump two directories if there is a space in the directory name of one of them without using / \?

 




ASKER CERTIFIED SOLUTION
Avatar of farzanj
farzanj
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of fcek

ASKER


lastly is there a way to jump back to $ from here:

 [ed@server1 /]$ cd /users\ folders/users-personal/

I do it in two steps
cd ..
then another
cd ..
and I land here
[ed@server1 /]$



SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of fcek

ASKER

Thanks everyone