Which of the following is the correct sequence given only a terminal is available?

After starting a long-running script, a systems administrator needs to verify the frequency of what is filling up the /var partition and kill it because it is consuming too much space.
Which of the following is the correct sequence given only a terminal is available?
A. 1. CTRL-C
2. bg
3. watch df /var
4. CTRL-C
5. fg
6. CTRL-Z
B. 1. CTRL-C
2. fg
3. watch df /var
4. CTRL-Z
5. bg
6. CTRL-Z
C. 1. CTRL-Z
2. bg
3. watch df /var
4. CTRL-C
5. fg
6. CTRL-C
D. 1. CTRL-Z
2. bg
3. watch df /var
4. CTRL-Z
5. fg
6. CTRL-C

comptia-exams

4 thoughts on “Which of the following is the correct sequence given only a terminal is available?

  1. NO, IF run Ctrl-C on the step 4, no reason to run fg on the step 5 because process is killed by CTRL-C on the step 4

    6
    1

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.