路径名或者变量有空格时候,会造成参数太多的错误提示

bash: cd: too many arguments 报错

 

解决方法:把空格的地方用引号包括起来

bash: cd: too many arguments 报错

 

相关文章: