【发布时间】:2014-11-20 11:40:23
【问题描述】:
我有一个简单的 sh 文件,但我在尝试安装软件时失败了。我首先运行了命令:
chmod +x azx_installer.sh
然后我输入这个:
sh azx_installer.sh
但它给了我以下错误:
chmod: cannot create /home/andrelima/Desktop/azx.desktop: Directory nonexistent
这附近发生了什么?
【问题讨论】:
-
这是因为在你的脚本中你试图做一些不正确的事情。分享您的代码,以便我们了解它是什么。
-
目录
/home/andrelima/Desktop/是否存在?