Linux Terminal: how to capture or watch other terminal session

前端 未结 9 1000
伪装坚强ぢ
伪装坚强ぢ 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 02:02

    Something nice and easy:

    watch -n 1 cat /dev/vcsa1
    

    watch -n 1 refers for the time to refresh.

提交回复
热议问题