现在我有两条命令 必须在exec中同时执行
ln -s /a/c/asdf /etc/init.d
chkconfig --add asdf
在代码中我加了 ln -s /a/c/asdf /etc/init.d && chkconfig --add asdf
但是 运行提示错误 说 ln 命令参数有问题 最后一个参数不是一个路径
请问如何解决
谢谢
ln -s /a/c/asdf /etc/init.d
chkconfig --add asdf
在代码中我加了 ln -s /a/c/asdf /etc/init.d && chkconfig --add asdf
但是 运行提示错误 说 ln 命令参数有问题 最后一个参数不是一个路径
请问如何解决
谢谢
这是Linux的shell嘛?