Running and Managing Jobs
Explore how to run commands in the background, suspend tasks, and resume them efficiently in the command-line interface. This lesson helps you manage long-running programs without blocking your terminal, improving multitasking and workflow control.
We'll cover the following...
Running tasks in background
Many of the commands we’ve run in this course returned their results in a
reasonable amount of time. But sometimes, commands take a long time to run or they take over the terminal entirely. The nano and top commands and even development servers completely take over the terminal, forcing us to open another terminal window to interact.
Instead of running tasks in the foreground, we can run them in the background. Or, we can suspend them so we can do other work and then resume the original command to pick up where we ...