00:03
Given questions, here is how to achieve these tasks given in the question to perform in a linux terminal.
00:38
Here is the first one, to display the list of jobs that batch in tracking for a particular section.
01:24
We can use the jobs command.
01:46
Just type jobs in the terminal.
02:12
Second one, to bring job as tag 2 to the foreground and then suspend it using ctrl plus z.
02:58
These steps should be followed that are, use the fg command to bring job as tag 2 to the foreground dash fg percentile 2 is used.
03:53
D, once it's in the foreground, press ctrl plus z to suspend the job.
04:25
Third, to display all process including those without a controlling terminal.
05:02
We can use ps command with the minus e option.
05:30
We show sleep process specifically.
06:01
The minus e option will show sleep process specifically.
06:08
And we can type the output to grep grep like the below...