View Script Over SSH?
- by user74781
A friend, using a remote machine, ran a script that SSHed to my machine, and ran the following python script that resides on my machine:
while (1):
....print "hello world"
(this script simply prints 'hello world' continuously).
I am now logged in to my machine. How can I see the output of the script my friend was running?
if it helps, I can 'spot' the script my friend is using:
me@home:~$ ps aux | grep justprint.py
**friend 7494 12.8 0.3 7260 3300 ? Ss 17:24 0:06 python TEST_AREA/justprint.py**
friend 7640 0.0 0.0 3320 800 pts/3 S+ 17:25 0:00 grep --color=auto just
what steps should I take in order to view the "hello world" messages on my screen?