Check the current tty/pts session where you connected

$ ps
  PID TTY          TIME CMD
 7920 pts/1    00:00:00 bash
 7986 pts/1    00:00:00 ps

Or

Use tty
$ tty
/dev/pts/0

Comments

Popular posts from this blog

Check MySQL query history from command line

Installing chocolatey on Windows