[Tip] nohup execute commands after you exit from a shell prompt

Let your contribution to facilitate the day-to-day our
Forum rules
Read the community rules here. Search before posting. If your question has been solved, please add [SOLVED] in the title of your topic.
Post Reply
User avatar
Holmes
Founder
Founder
Posts: 212
Joined: Mon Apr 03, 2017 6:46 pm
Location: Brasil
Contact:

[Tip] nohup execute commands after you exit from a shell prompt

Post by Holmes » Sun Jul 30, 2017 9:00 pm

Image
Most of the time you login into remote server via ssh. If you start a shell script or command and you exit (abort remote connection), the process / command will get killed. Sometime job or command takes a long time. If you are not sure when the job will finish, then it is better to leave job running in background. But, if you log out of the system, the job will be stopped and terminated by your shell. What do you do to keep job running in the background when process gets SIGHUP?
more information in https://www.cyberciti.biz/tips/nohup-ex ... rompt.html.

vlw fwi, Holmes :)
Image

Kibojoe Linux
Minimal, Fast and Elegant!

Post Reply