[ 转载 ] ssh连接远程主机执行脚本的环境变量问题
摘要:
近日在使用ssh命令ssh user@remote ~/myscript.sh登陆到远程机器remote上执行脚本时,遇到一个奇怪的问题: ~/myscript.sh: line n: app: command not found app是一个新安装的程序,安装路径明明已通过/etc/profile 阅读全文
posted @ 2018-01-14 21:11 锅边糊 阅读(385) 评论(0) 推荐(0) 编辑