O'Reilly logo

CompTIA Linux+ Certification Guide by Philip Inshanally

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Foreground processes versus background processes

When working in the shell, we are in fact working in what is known as the foreground; we aren't able to carry out any other tasks unless we stop the current process. There are times when you are going to want to send some processes to the background for processing; this will allow you to continue to work in the shell, while, at the same time, the process in the background is also running. To verify whether there are any processes running in the background, we can use the jobs command. Let's try this out:

root@ubuntu:/home/philip# jobsroot@ubuntu:/home/philip#

From the preceding output, we can see that there are no jobs currently running in the background. To see how a process could affect you ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required