Managing Processes in Linux (jobs, fg, bg, &, nohup, kill, ...)

preview_player
Показать описание
LPIC1 - 033 - 103.5 - Part 1/3 - Creating, managing and killing processes in Linux

In this module we will see one of the interesting features of linux shells: managing processes and running multiple programs from one shell and switching between them. In this section we will see how linux programs / processes can move between Running and Stopped states and how we can control them using `fg` and `bg` and `jobs`. Later we will send linux signals to processes using the `kill` command and describe how you can tell your programs to keep running even after their parent is killed, using the `nohup` command.

Рекомендации по теме
Комментарии
Автор

What a beautiful explanation
Thx
Smashing that like button‼️‼️

davidabba
Автор

Great video!

Not sure if it's exam material/useful to others or not, but I personally use disown a lot for background jobs

farzadmf
Автор

I thought bg and fg also worked without the % after i made a typo, but i checked and it seems that with % you indicate a JOB ID and without a % it's a PROCESS ID. So make sure you use % or risk messing with stuff you didn't intend to :)

Proxyincognito