×

Welcome to TagMyCode

Please login or create account to add a snippet.
1
0
 
0
Language: Bash
Posted by: bejoy balan
Added: Oct 2, 2014 11:19 AM
Modified: Oct 2, 2014 11:20 AM
Views: 33
nohup does not automatically put the command it runs in the background; you must do that explicitly, by ending the command line with an & symbol.


http://www.cyberciti.biz/tips/nohup-execute-commands-after-you-exit-from-a-shell-prompt.html
  1. "nohup command syntax:
  2.  
  3. The syntax is as follows
  4. nohup command-name &
  5.  
  6. OR
  7. nohup /path/to/command-name arg1 arg2 &
  8.  
  9. Where,
  10.  
  11. command-name : is name of shell script or command name. You can pass argument to command or a shell script.
  12. & : nohup does not automatically put the command it runs in the background; you must do that explicitly, by ending the command line with an & symbol."