bash : cd : too many arguments

Viewed 161783

if i need to go to my directory named as"exception handling" then i write (cd exception handling) but it gives error too many arguments

1 Answers

Use quotes:

cd "new folder"

or escape the space:

cd new\ folder

(That being said, cd does not open a file but changes the working directory.)

Related