Linux Processes bg & fg

Опубликовано: 11 Июнь 2026
на канале: mrholverson
11,920
63

Running a process and putting it into the background and then moving it into the background. I used a copy command that would take a long time in the example.
While a command is running you can suspend it with ctrl-z or kill it with ctrl-c.
suspend a job ctrl -z
terminate a job ctrl -c
When a job is suspended it can be moved back to the foreground with `fg` and placed in the background (where it will continue to execute) with `bg`.