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

Опубликовано: 23 Март 2019
на канале: 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)


Смотрите видео Linux | Background Process Basics and Signals | & , disown, nohup онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь knary 23 Март 2019, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 1,798 раз и оно понравилось 72 людям.