Linux | Background Process Basics and Signals | & , disown, nohup

Published: 23 March 2019
on channel: knary
1,798
72

Creating and managing background processes, the difference between & , disown, and nohup, and the basics of signals.

Notes:
I can't put angle brackets (greater than signs) in the description so they are represented with [out], short for output operator.

Process Commands:

& - run in background

disown - abandon parent (stay alive when parent is closed),
stay alive after logout

nohup - ignore HUP signals,
abandon parent,
stay alive after logout,
put output in nohup.out

Output Supression:

All:
[out]/dev/null
Minor problems:
1[out]/dev/null
Serious problems:
2[out]/dev/null

Signals:

SIGHUP - sent when loggout

SIGTERM - tells process to quit

SIGKILL - forces termination of process (cannot ignore this SIG)


Watch video Linux | Background Process Basics and Signals | & , disown, nohup online without registration, duration hours minute second in high quality. This video was added by user knary 23 March 2019, don't forget to share it with your friends and acquaintances, it has been viewed on our site 1,798 once and liked it 72 people.