bash : cd : too many arguments

Veerabala J picture Veerabala J · Nov 17, 2017 · Viewed 96.5k times · Source

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

Answer

Sora. picture Sora. · Nov 17, 2017

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.)