Skip to content
Advertisement

How can I go to a directory whose file name has spaces between them in the Linux terminal?

I am trying to go to a directory whose file name has spaces between them in the Linux terminal. I tried doing this:

JavaScript

As you can see, it didn’t work

How can I make it work?

Advertisement

Answer

You need to quote the directory name:

JavaScript

or escape the space character:

JavaScript
User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement