remsh 命令在远程主机上启动 shell ,执行一些客户机活动(经常在该主机上启动终端仿真程序),并在需要时将显示重新定向,返回初始系统。
语法为:
remsh remote -n client -display system:display[.screen]
其中:
remote-远程主机名
client-要在远程主机上运行的程序
system:display[.screen]-将要显示结果的主机和显示器
例如,下列命令在名为 there 的远程主机上运行 xload,并将输出定向回您的系统 here 上。
remsh there -n /usr/bin/X11/xload -display here:0.0 &