How do I change foreground process to background in Linux?

How do I change foreground process to background in Linux?
Answer
Following are some examples:
  1. To run the count program, which will display the process identification number of the job, enter: count &
  2. To check the status of your job, enter: jobs.
  3. To bring a background process to the foreground, enter: fg.
  4. If you have more than one job suspended in the background, enter: fg %#
 

Tìm kiếm

Back
Top