1.使用转义字符”\”
2.将路径名加双引号”” 或 单引号”
例如:
cd : /home/xfire/dir path
cd: /home/xfire/dir: No such file or directory #报错
cd : /home/xfire/dir\ path #正确
cd : /home/xfire/”dir path” #正确
觉得这篇干货值得回味?
0 人已收藏
收入个人中心「我的收藏夹」,支持按技术专题分类整理❤️ 如果这篇文章对您有帮助,欢迎打赏支持

扫描上方二维码,用微信打赏
wechat