-
screen:
screen -dmS <screen_name> <command>
exit
nohup <command> &
exit
echo "<command>" | at now
exit
<command> &
disown -h
exit
screenways to continue run command after shell exitSubmitted by sandip on Tue, 06/30/2009 - 10:46
screen -dmS <screen_name> <command> nohup <command> & echo "<command>" | at now <command> & Share screen sessionSubmitted by sandip on Tue, 12/16/2008 - 23:45
$ screen -S <SessionName> The -S switch gives the session a name, which makes multiple screen sessions easier to manage. Allow multiuser access in the screen session:CTRL-A CTRL-A $ screen -x <host_user>/<SessionName> Frequently used SCREEN reference commandsSubmitted by sandip on Sun, 09/05/2004 - 00:02# open screen session screen # list screen sessions screen -ls # reattach to screen session screen -r <name of screen session> # attach to a not detached session screen -x <name of screen session> # detach from unattached session screen -d Note: ^A = Ctrl-a (Press the "a" key while holding down Control key) detach from screen session attached to ^A d # open another session ^A c list the screen windows ^A w # print screen and save a hardcopy ^A h # go to next window ^A n # go to previous window ^A p # lock screen ^A x |
User loginRecent blog posts
Who's onlineThere are currently 0 users and 7 guests online.
|