bash:cd:参数太多
问题描述:
如果我需要转到名为例外处理"的目录,然后我写(cd异常处理),但是它给出了太多的错误信息
if i need to go to my directory named as"exception handling" then i write (cd exception handling) but it gives error too many arguments
答
使用引号:
cd "new folder"
或逃脱空格:
cd new\ folder
(也就是说,cd
不会打开文件,而是会更改工作目录.)
(That being said, cd
does not open a file but changes the working directory.)