Linux Terminal: how to capture or watch other terminal session

前端 未结 9 955
伪装坚强ぢ
伪装坚强ぢ 2020-12-30 01:25

Let say, I access to a server using ssh. In the same time, there is another person accessing that server.

Is it possible to watch what is going on in that person\'s

9条回答
  •  孤城傲影
    2020-12-30 01:47

    You can use the small tool script for logging the terminal into a file. The observing party can simply tail -f that file to follow.

    This is a much simpler approach, but it works very nicely for most cases

提交回复
热议问题