Why can't I cd into this directory?

4.4k views Asked by At

I'm trying to cd into a directory, but the terminal says it doesn't exist even though it does. enter image description here

2

There are 2 answers

6
ruakh On BEST ANSWER

You are calling cd with two arguments, Prog and 16.1. You need to call it with just one argument, Prog 16.1. To do this, you need to "quote" the space in the middle, so that it doesn't get interpreted as separating two arguments. Here are a few options:

  • cd 'Prog 16.1'
  • cd Prog' '16.1
  • cd "Prog 16.1"
  • cd Prog" "16.1
  • cd Prog\ 16.1
0
tvCa On

The command replies with an accurate message, all one needs to do is read the error message.