Introduction to Linux I Chapter 11 Exam Answer
Question ID 426
To execute a command called “simple” as a foreground process, you would type:
- fg simple
- simple &
- foreground simple
Question ID 427
The key press combination that will request a process to stop is:
Question ID 428
The key press combination that will request a running process terminate:
Question ID 429
The main advantage of running a process in the background is:
- The process will automatically run at a low priority
- You can be assured that the process will not terminate early
- The process will be logged
- You can continue to use the shell that started the process
Question ID 430
To see the list of background processes that you have started in your shell, you can run:
Question ID 431
Using the kill command always terminates processes.
True or False?
Question ID 432
To view all processes on the system, you can execute:
- ps –all
- ps -f
- ps -e
Question ID 433
In order to run a command called “tough” in the background, you would type:
- start -b tough
- bg tough
Question ID 434
If you want a background process to keep running after log out, you can use:
Question ID 435
A popular program for monitoring running processes in real-time is:
Question ID 436
To view statistics on memory availability, you can use:
Question ID 437
To send a signal to a set of processes with the same name, you can run:
Question ID 438
The uptime command prints a statistic representing the system load over what three time spans?
- Last thirty minutes
- Last minute
- Last five minutes
- Last ten minutes
- Last fifteen minutes
- Last hour
Question ID 439
What command can be used as a prefix to another command to run it at an altered priority?
Question ID 440
What command can be used to alter the priority of a running process?
Question ID 444
Placing an __ character at the end of the command line will put the command in the background.
Question ID 445
A signal is:
- A technique to tell a process to take some sort of action
- A command option
- A technique to send data to a process
- A command argument
Question ID 447
Which of the following is not a valid way to send the “force kill” signal to a process?
- kill -KILL PID
- kill -SIGKILL PID
- kill -9 PID
- kill -FORCE PID
Question ID 448
Which of the following commands will stop all processes owned by the user bob?
- killall -u bob
- pkill -u bob
- kill -u bob
- kill -l
Question ID 449
To execute a command with the lowest possible priority, which value do you pass to the nice command?
Question ID 450
To execute a command with the highest possible priority, which value do you pass to the nice command?
Question ID 451
To execute a command with the default priority, which value do you pass to the nice command?
Question ID 886
The _____ command will list the commands that are running in your terminal.
Question ID 887
To change the niceness value of an existing process, you can use the _____ command.
Question ID 888
To see how long the system has been running, you can use the _____ command.
Question ID 889
To send a paused process to the background, use the _____ command.
Question ID 890
To set a priority value lower than 0, you must log in as which user?
- Any user account
- No user can specify a priority lower than 0
- The root user
- The adm user
Question ID 891
To view system memory usage, you can use the _____ command.
Question ID 892
What character do you place between commands to execute multiple commands on a single command line?
Question ID 893
What option to the kill command will list the signals for the system?