How 2 Know
If you can't Google it, You Can Knowing it.

how to mirror 2 terminals

Hello Everone,

do you think about terminal mirroring ??

do you think about how to know what the other users write on Shells???

AIX has a great commands you can use it for mirroring to see what others write or if you want to teach multi students and they can see on your terminal.

follow these steps to mirrors 2 sessions :
1- get the PTS for the other terminal:

# who
root        pts/0       Oct 10 08:44     (10.10.10.11)
sakr        pts/1       Oct 10 12:18     (10.10.10.12)

2- use commands “portmir” :

# portmir -t pts/1
 #
portmir: Remote user connected, mirroring active.

3- now, anything the other user write, you can see on your terminal, also you can write any command you want.
4- to close the port mirroring wirte

# portmir -o

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Discover more from How 2 Know

Subscribe now to keep reading and get access to the full archive.

Continue reading