Created
June 17, 2013 15:03
-
-
Save damour/5797565 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| While you are logged into a server, you can run a script in detached mode by the following command: | |
| nohup script >script.out 2>script.err & | |
| Later when you log in again, you can check script.out for any output, and script.err for any error messages. If you want output and error messages in the same file, then do: | |
| nohup script >script.out 2>&1 & |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment