This Blog is intended to collect information of my various Intrests,pen my opinion on the information gathered and not intended to educate any one of the information posted,but are most welcome to share there view on them
Saturday, August 14, 2010
NOHUP : Run command continiously even if session closed
nohup command is used to run any command continiously even if you close your session from the server.
If nohup added in front of any command will continue running that command or process, even if you exit your terminal or close your session in that server
nohup command-to-run &
command-to-run : is name of command or script which you want to run. You can pass argument to that command or script.
& : nohup does not automatically runs the command in the background. you must do that explicitly, by ending the command line with an & symbol.