LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1074|回复: 6

how to transport a command to other terminal ?[已解决]

[复制链接]
发表于 2004-3-2 22:11:55 | 显示全部楼层 |阅读模式
RT:help
发表于 2004-3-2 22:14:04 | 显示全部楼层
是在另外一个终端执行命令嘛?
  1. >/dev/tty ls
复制代码
 楼主| 发表于 2004-3-2 22:17:47 | 显示全部楼层
/root# >/dev/ttp2 ls
/root# tty
/dev/ttyp1


other term:/root# tty
/dev/ttyp2
/root#

no active action
发表于 2004-3-2 22:31:19 | 显示全部楼层
最初由 home 发表
/root# >/dev/ttp2 ls
/root# tty
/dev/ttyp1


other term:/root# tty
/dev/ttyp2
/root#

no active action

这是我的测试:

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
发表于 2004-3-2 22:33:28 | 显示全部楼层
Or try:
  1. xterm -e command
复制代码
 楼主| 发表于 2004-3-2 22:49:20 | 显示全部楼层
thanks!! :sorry  i could not use the chinese input !
发表于 2004-3-3 09:01:55 | 显示全部楼层
最初由 javalee 发表
是在另外一个终端执行命令嘛?

  1. >/dev/tty ls
复制代码

这应该只是将命令结果重定向吧 ?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表