I need to cd into directory with spaces `-bash: cd: too many arguments`

The error code is -bash: cd: too many arguments.

I am currently using Windows Subsystem running ubuntu 16.04

I tried using a backslash('\') and then the space(' ') , but it is still throwing me the same error.

1

1 Answer

You may also wrap your folder path in quotes. Try:

cd "new folder"
0

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like