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 39 times
0

BeastOfCaerbannog
- 14,585

Ashutosh
- 1
1 Answers
2
Either quote your argument:
cd "x y"
or escape (make not special) the space:
cd x\ y

waltinator
- 36,399