[General] screen command or a replacement
Bashar Al-Abdulhadi
bashar at kuwaitnet.net
Mon Dec 25 17:33:23 +03 2006
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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://oskw.org/pipermail/general_oskw.org/attachments/20061225/10dda650/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3249 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://oskw.org/pipermail/general_oskw.org/attachments/20061225/10dda650/attachment.bin>
More information about the General
mailing list