Linux Command Line (64) Foreground Background

Опубликовано: 06 Октябрь 2024
на канале: MichaelsTechTutorials
1,526
56

When we start a job in the command line, we can not type anything else in that terminal while the job is running because that job is running in the foreground.

We can send the job to the background by first pausing the job by holding down control and pressing the "z" key then typing bg for background

When a job runs in the background, we cannot hold down control and press "c" to cancel out of that job, nor can we give a program running in the background any input values until we bring it back to the foreground with fg

We can start a job in the background by adding an ampersand "&" after the command.

See the complete LCL playlist at:    • Linux Command Line  (01) What Is The ...  

Website link:
https://thefrugalcomputerguy.com/linu...