IST 190 TEST 3 QUESTIONS AND ANSWERS
What is a process? - Answers - A process is a running instance of a launched,
executable program. A process includes an address space of allocated memory,
security properties including ownership credentials and privileges, one or more
execution threads of program code, and process state
The command to see a list of the currently running background processes. - Answers -
ps
A background job can be brought to the foreground by using the this command with its
job ID (%job number). - Answers - fg
To start a suspended process running in the background, use this command with the
same job ID. - Answers - bg
Any command or pipeline can be started in the background by appending this character
to the end of the command line - Answers - &
This command can send signals to multiple processes and uses advanced selection
criteria. - Answers - pkill
Job control - Answers - ____________________ is a feature of the shell which allows a
single shell instance to run and manage multiple commands.
The ____________________ command displays all processes, with columns in which
users will be interested, and includes processes without a controlling terminal - Answers
- ps aux
Write the command root would use to disable the cupsd service - Answers - systemctl
disable cupsd.service
System startup and server processes in RHEL7 are managed by ________________.
This program provides a method for activating system resources, server daemons, and
other processes, both at boot time and on a running system. - Answers - systemd
System and Service Manager
What tcp port does ssh use by default? - Answers - 22
TASK_RUNNING: The process is either executing on a CPU or waiting to run - Answers
- Running (R)
TASK_INTERRUPTIBLE: The process is waiting for some condition - Answers -
Sleeping (S)
What is a process? - Answers - A process is a running instance of a launched,
executable program. A process includes an address space of allocated memory,
security properties including ownership credentials and privileges, one or more
execution threads of program code, and process state
The command to see a list of the currently running background processes. - Answers -
ps
A background job can be brought to the foreground by using the this command with its
job ID (%job number). - Answers - fg
To start a suspended process running in the background, use this command with the
same job ID. - Answers - bg
Any command or pipeline can be started in the background by appending this character
to the end of the command line - Answers - &
This command can send signals to multiple processes and uses advanced selection
criteria. - Answers - pkill
Job control - Answers - ____________________ is a feature of the shell which allows a
single shell instance to run and manage multiple commands.
The ____________________ command displays all processes, with columns in which
users will be interested, and includes processes without a controlling terminal - Answers
- ps aux
Write the command root would use to disable the cupsd service - Answers - systemctl
disable cupsd.service
System startup and server processes in RHEL7 are managed by ________________.
This program provides a method for activating system resources, server daemons, and
other processes, both at boot time and on a running system. - Answers - systemd
System and Service Manager
What tcp port does ssh use by default? - Answers - 22
TASK_RUNNING: The process is either executing on a CPU or waiting to run - Answers
- Running (R)
TASK_INTERRUPTIBLE: The process is waiting for some condition - Answers -
Sleeping (S)