[General] screen command or a replacement

Ossama Khayat okhayat at yahoo.com
Mon Dec 25 23:08:22 +03 2006


I know very little about 'screen' but I passed through this tutorial a few days back, and thought maybe you'd find it useful.

http://www.howtoforge.com/linux_screen

regards,
Ossama

----- Original Message ----
From: Bashar Al-Abdulhadi <bashar at kuwaitnet.net>
To: General OpenSource Discussion <general at oskw.org>
Sent: Monday, December 25, 2006 5:33:23 PM
Subject: Re: [General] screen command or a replacement




  
  

W'salaam Abdulaziz,

although your session
shouldn't be lost if your terminal dies before pressing ^AD but i
noticed "some" applications (not copy or wget) dies if you dont press
^AD before your terminal dies, anyhow what i thought of is:

# screen

# script -t 0
monitor.txt

# ^AD

# tail -f monitor.txt

man script for more
flags





and for dying maybe
cause you are running `screen commandgoeshere` not running `screen`
then hitting enter then `commandgoeshere` ?









Abdulaziz AL-Asfour
wrote:



Salamu Alaykom...

  

To all *nix experts:

  

For example you want to download or copy a big file ... or you want to
start any command using the terminal (from a remote PC):

  

  
    You want to see the output of this command
    
    While seeing the output, if the session gets disconnected, you
do not want to interrupt the operation (Coping or viewing the output of
the command)
  
If i do: 

  
    screen /opt/application/bin/server
    
  
or
  
    screen wget url.tar
  
If there is a network problem and your terminal gets disconnected
before pressing (Ctrl-A-D), you will lose your session (Correct me if I
am wrong)

  

I do not want that to happen.... and I want at the same time to view
the output of the executed command (Maybe putting it in the background
won't do the trick also)....
  

  

Any tips, shabab? :)

  
_______________________________________________
General mailing list
General at oskw.org
http://mail.oskw.org/mailman/listinfo/general_oskw.org
  

_______________________________________________
General mailing list
General at oskw.org
http://mail.oskw.org/mailman/listinfo/general_oskw.org






__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://oskw.org/pipermail/general_oskw.org/attachments/20061225/43b004aa/attachment.html>


More information about the General mailing list