Find the answer to your Linux question:
Results 1 to 2 of 2
This is a very simple question but I couldn't find an answer...so sorry if this has already been asked. Say I run something in a bash shell in the background. ...
  1. #1
    Just Joined!
    Join Date
    Nov 2005
    Posts
    80

    'untying' background processes to terminal in bash in X

    This is a very simple question but I couldn't find an answer...so sorry if this has already been asked.

    Say I run something in a bash shell in the background. When I close the terminal window, so do all the background apps.
    In csh or similar, one can keep the background processes running even after the terminal window is closed.

    How can i get bash to behave like csh in this respect? I'm tired of accidentally killing all my applications when i close my xterm. Thanks.

  2. #2
    Just Joined!
    Join Date
    Mar 2007
    Posts
    16
    Hi oaul,

    The nohup command might solve the problem for you. This runs a command even if the session is disconnected or the user logs out.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...