0

I am using Bash script. When I run cd x y, I get an error that x is not a directory. However, files having names without spaces are selected.

1 Answers1

2

Either quote your argument:

cd "x y"

or escape (make not special) the space:

cd x\ y
waltinator
  • 36,399