HI Guys,
Just wondering how am I be able to tell which tty I'm on because I got the script running in the background.
UID PID PPID C STIME TTY TIME CMD
master 26240 26088 0 May 05 pts/11 0:01 bash
master 20716 20377 0 00:30:17 pts/12 0:00 -ksh
master 21764 21762 0 05:10:18 pts/12 0:00 sleep 60
master 26088 26064 0 May 04 pts/11 0:00 -ksh
master 21762 20843 0 05:10:18 pts/12 0:00 /usr/bin/ksh /home/master/Scripts/testScript.ksh
How do I find out that which screen is pts/12?
thanks in advance guys,
Just wondering how am I be able to tell which tty I'm on because I got the script running in the background.
UID PID PPID C STIME TTY TIME CMD
master 26240 26088 0 May 05 pts/11 0:01 bash
master 20716 20377 0 00:30:17 pts/12 0:00 -ksh
master 21764 21762 0 05:10:18 pts/12 0:00 sleep 60
master 26088 26064 0 May 04 pts/11 0:00 -ksh
master 21762 20843 0 05:10:18 pts/12 0:00 /usr/bin/ksh /home/master/Scripts/testScript.ksh
How do I find out that which screen is pts/12?
thanks in advance guys,