View Script Over SSH?
        Posted  
        
            by 
                user74781
            
        on Super User
        
        See other posts from Super User
        
            or by user74781
        
        
        
        Published on 2010-12-13T02:07:20Z
        Indexed on 
            2013/11/11
            16:00 UTC
        
        
        Read the original article
        Hit count: 325
        
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?
© Super User or respective owner