将 .bash_profile中环境变量写到shell前面
ksh的也可以这样
rsh hostname -l username ". $HOME/.profile ; shell"
bash 没试过
QUOTE:原帖由 meteor06 于 2008-5-17 17:31 发表

将 .bash_profile中环境变量写到shell前面
ksh的也可以这样
rsh hostname -l username ". $HOME/.profile ; shell"
bash 没试过
谢谢版主热心帮助!
本地ksh,远程bash,执行rcmd host ". $HOME/.bash_profile; shell"后回显"stty: 标准输入,无效的参数",这是什么意思?
会员注册
会员登录
个人空间