Jumpstart Career Sale: Extra 15% Off + 15 Days Extra Lab on all self-paced Courses | Use Coupon JC15 in Checkout | Offer Expires In

  Enroll Now

Linux Basics

53 / 85
   

In Unix, a job is a group of one or more processes. One of the ways of creating job is when we put a process in the background.

You can see the list of jobs by using the command:

    jobs

The number that you see in square brackets [] is the job id. This is different from the process id. To bring a process to foreground, you can use

    fg %jobid

or simply

    fg jobid

If jobs command lists following:

        [1]-  Stopped         tail -f mycmd.sh
        [2]+  Stopped         top
        [3]   Running         sleep 1000 &

Which command will bring the "top" to the foreground?


Note - Having trouble with the assessment engine? Follow the steps listed here


No hints are availble for this assesment

Answer is not availble for this assesment

Loading comments...