shell - scriptfifo

shell1:

  mkfifo xxfifo

  script -f xxfifo

  cmd

  cmd

  exit   -----主动退出

shell2:

  cat xxfifo

  可以看到shell1的所有操作。

但是shell2感觉会卡,有延时。

posted on 2023-01-11 16:22  爱新觉罗玄烨  阅读(26)  评论(0)    收藏  举报

导航