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.
Asked
Active
Viewed 40 times
0
BeastOfCaerbannog
- 16,703
Ashutosh
- 1
1 Answers
2
Either quote your argument:
cd "x y"
or escape (make not special) the space:
cd x\ y
waltinator
- 37,856