I have two active ssh sessions:
~$ w
22:51:42 up 17 days, 6:11, 3 users, load average: 2,82, 2,38, 1,34
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
user pts/0 192.168.0.108 22:38 12:47 0.04s 0.04s -bash
user pts/1 192.168.0.108 22:23 6.00s 0.19s 0.02s w
From tty0 I would like to see the output tty1. That is how I tried (as recommended here):
~$ ttylog pts/1
ttylog: no device is set. Use ttylog -h for more information.
Any ideas on how this command should be used to able to catch output of other terminals?
Update:
with /dev/pts/1
getting the same error:
$ ttylog /dev/pts/1
ttylog: no device is set. Use ttylog -h for more information
Update2:
when using -d
switch the source terminal is completely frozen.
ttylog -d /dev/pts/1
I have submitted a bug report about it: https://bugs.launchpad.net/ubuntu/+source/ttylog/+bug/1951725
https://github.com/waltinator/pathlld
, abash
script to show the permissions, mount options along the path to an object or objects. – waltinator Nov 21 '21 at 14:35crw--w---- 1 user tty 136, 1 nov 21 16:49 /dev/pts/1
that is the permissions – laplasz Nov 21 '21 at 15:50