Deck 9: Managing Linux Processes

ملء الشاشة (f)
exit full mode
سؤال
The ____ kill signal stops a process and then restarts it with the same PID.

A) SIGINT
B) SIGQUIT
C) SIGHUP
D) SIGTERM
استخدم زر المسافة أو
up arrow
down arrow
لقلب البطاقة.
سؤال
Most commands such as ls, find, and grep are binary programs that exist on the filesystem until executed. _________________________
سؤال
You can execute ____ main types of Linux commands.

A) two
B) three
C) four
D) five
سؤال
Each process can start an unlimited number of other processes.
سؤال
The init daemon has a PID of 0. _________________________
سؤال
To display an entire list of processes across all terminals and including daemons, you can add the ____ option to any ps command.

A) -f
B) -l
C) -a
D) -e
سؤال
The ps command is the only command that can view process information.
سؤال
When killing a background job with the kill command, you must prefix the background job IDs by a(n) ____.

A) &
B) #
C) $
D) %
سؤال
After a process has been started, you can change its priority by using the renice command.
سؤال
The killall command uses the PID to kill a process.
سؤال
The ____ kill signal terminates a process by taking the process information in memory and saving it to a file called core on the hard disk in the current working directory.

A) SIGINT
B) SIGQUIT
C) SIGKILL
D) SIGTERM
سؤال
A value of 0 for a process priority indicates low priority. _________________________
سؤال
In the output of the ps -l command, the ____ column is the most valuable to systems administrators because it indicates what the process is currently doing.

A) process state
B) process flag
C) process priority
D) PID
سؤال
If the /etc/at.allow and /etc/at.deny files do not exist, only the root user is allowed to schedule tasks using the at daemon.
سؤال
The ____ option to the ps command displays all processes that do not run on terminals.

A) -f
B) x
C) a
D) -l
سؤال
The SIGINT kill signal is the default kill signal used by the kill command. _________________________
سؤال
A system process that is not associated with a terminal is called a(n) ____ process.

A) daemon
B) user
C) parent
D) startup
سؤال
When you append a(n) ____ to a command, the command is run in a background process.

A) &
B) $
C) #
D) %
سؤال
While a process is waiting for its parent process to release the PID, the process is said to be in a(n) zombie state. _________________________
سؤال
There are ____ different kill signals that the kill command can send to a certain process.

A) 16
B) 32
C) 64
D) 128
سؤال
Processes that have encountered an error during execution and continuously uses up system resources are referred to as ____________________ processes.
سؤال
The ____________________ can be used to affect the process priority indirectly.
سؤال
Processes are started with a nice value of ____ by default.

A) -20
B) 0
C) 1
D) 19
سؤال
After a background process has been started, it can be moved to the foreground by using the ____ command.

A) b2f
B) fgd
C) fg
D) fgnd
سؤال
Match each term with the correct statement below.
a.cron daemon
f.PID
b.program
g./etc/crontab
c./var/spool/cron
h./var/spool/at
d.trapping
i.at daemon
e.PPID
Daemon used to schedule a command to execute repeatedly in the future.
سؤال
A(n) ____________________ refers to a program that is running in memory and on the CPU.
سؤال
The ____ field in a cron table contains the absolute pathname to the command to be executed.

A) first
B) second
C) fifth
D) sixth
سؤال
Match each term with the correct statement below.
a.cron daemon
f.PID
b.program
g./etc/crontab
c./var/spool/cron
h./var/spool/at
d.trapping
i.at daemon
e.PPID
The location of system cron tables.
سؤال
In a process referred to as ____________________, when executing compiled programs or shell scripts, the BASH shell that interprets the command you typed creates a new BASH shell.
سؤال
To create or edit a user cron table, you can use the ____ option to the crontab command.

A) -u
B) -c
C) -f
D) -e
سؤال
Match each term with the correct statement below.
a.cron daemon
f.PID
b.program
g./etc/crontab
c./var/spool/cron
h./var/spool/at
d.trapping
i.at daemon
e.PPID
Directory storing the shell environment and scheduled commands.
سؤال
When there are multiple background processes executing in the shell, the jobs command indicates the most recent one with a(n) ____ symbol.

A) *
B) +
C) -
D) /
سؤال
Match each term with the correct statement below.
a.cron daemon
f.PID
b.program
g./etc/crontab
c./var/spool/cron
h./var/spool/at
d.trapping
i.at daemon
e.PPID
Identifies the process that started another process.
سؤال
Match each term with the correct statement below.
a.cron daemon
f.PID
b.program
g./etc/crontab
c./var/spool/cron
h./var/spool/at
d.trapping
i.at daemon
e.PPID
Daemon used to schedule a command to execute once in the future.
سؤال
Match each term with the correct statement below.
a.cron daemon
f.PID
b.program
g./etc/crontab
c./var/spool/cron
h./var/spool/at
d.trapping
i.at daemon
e.PPID
An executable file on the hard disk that can be run when you execute it.
سؤال
To display a list of at Job IDs, you can specify the ____ option to the at command.

A) -l
B) -u
C) -a
D) -d
سؤال
Match each term with the correct statement below.
a.cron daemon
f.PID
b.program
g./etc/crontab
c./var/spool/cron
h./var/spool/at
d.trapping
i.at daemon
e.PPID
A process's identifier that allows the kernel to identify it uniquely.
سؤال
Match each term with the correct statement below.
a.cron daemon
f.PID
b.program
g./etc/crontab
c./var/spool/cron
h./var/spool/at
d.trapping
i.at daemon
e.PPID
Ignoring a kill signal.
سؤال
The amount of time a process has to use the CPU is called a(n) ____________________.
سؤال
Match each term with the correct statement below.
a.cron daemon
f.PID
b.program
g./etc/crontab
c./var/spool/cron
h./var/spool/at
d.trapping
i.at daemon
e.PPID
The location of user cron tables.
سؤال
How does the nice value affect process priority? How and why can nice values be altered?
سؤال
Describe the system cron table. How it is organized, and what information may be contained within it?
سؤال
What is forking?
سؤال
Why would you want to schedule commands? What methods are available for scheduling commands?
سؤال
Describe the purpose the process state column displayed by the ps -l command. What values may appear in this column, and what do these values indicate?
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/45
auto play flashcards
العب
simple tutorial
ملء الشاشة (f)
exit full mode
Deck 9: Managing Linux Processes
1
The ____ kill signal stops a process and then restarts it with the same PID.

A) SIGINT
B) SIGQUIT
C) SIGHUP
D) SIGTERM
C
2
Most commands such as ls, find, and grep are binary programs that exist on the filesystem until executed. _________________________
True
3
You can execute ____ main types of Linux commands.

A) two
B) three
C) four
D) five
B
4
Each process can start an unlimited number of other processes.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
5
The init daemon has a PID of 0. _________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
6
To display an entire list of processes across all terminals and including daemons, you can add the ____ option to any ps command.

A) -f
B) -l
C) -a
D) -e
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
7
The ps command is the only command that can view process information.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
8
When killing a background job with the kill command, you must prefix the background job IDs by a(n) ____.

A) &
B) #
C) $
D) %
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
9
After a process has been started, you can change its priority by using the renice command.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
10
The killall command uses the PID to kill a process.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
11
The ____ kill signal terminates a process by taking the process information in memory and saving it to a file called core on the hard disk in the current working directory.

A) SIGINT
B) SIGQUIT
C) SIGKILL
D) SIGTERM
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
12
A value of 0 for a process priority indicates low priority. _________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
13
In the output of the ps -l command, the ____ column is the most valuable to systems administrators because it indicates what the process is currently doing.

A) process state
B) process flag
C) process priority
D) PID
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
14
If the /etc/at.allow and /etc/at.deny files do not exist, only the root user is allowed to schedule tasks using the at daemon.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
15
The ____ option to the ps command displays all processes that do not run on terminals.

A) -f
B) x
C) a
D) -l
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
16
The SIGINT kill signal is the default kill signal used by the kill command. _________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
17
A system process that is not associated with a terminal is called a(n) ____ process.

A) daemon
B) user
C) parent
D) startup
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
18
When you append a(n) ____ to a command, the command is run in a background process.

A) &
B) $
C) #
D) %
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
19
While a process is waiting for its parent process to release the PID, the process is said to be in a(n) zombie state. _________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
20
There are ____ different kill signals that the kill command can send to a certain process.

A) 16
B) 32
C) 64
D) 128
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
21
Processes that have encountered an error during execution and continuously uses up system resources are referred to as ____________________ processes.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
22
The ____________________ can be used to affect the process priority indirectly.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
23
Processes are started with a nice value of ____ by default.

A) -20
B) 0
C) 1
D) 19
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
24
After a background process has been started, it can be moved to the foreground by using the ____ command.

A) b2f
B) fgd
C) fg
D) fgnd
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
25
Match each term with the correct statement below.
a.cron daemon
f.PID
b.program
g./etc/crontab
c./var/spool/cron
h./var/spool/at
d.trapping
i.at daemon
e.PPID
Daemon used to schedule a command to execute repeatedly in the future.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
26
A(n) ____________________ refers to a program that is running in memory and on the CPU.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
27
The ____ field in a cron table contains the absolute pathname to the command to be executed.

A) first
B) second
C) fifth
D) sixth
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
28
Match each term with the correct statement below.
a.cron daemon
f.PID
b.program
g./etc/crontab
c./var/spool/cron
h./var/spool/at
d.trapping
i.at daemon
e.PPID
The location of system cron tables.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
29
In a process referred to as ____________________, when executing compiled programs or shell scripts, the BASH shell that interprets the command you typed creates a new BASH shell.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
30
To create or edit a user cron table, you can use the ____ option to the crontab command.

A) -u
B) -c
C) -f
D) -e
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
31
Match each term with the correct statement below.
a.cron daemon
f.PID
b.program
g./etc/crontab
c./var/spool/cron
h./var/spool/at
d.trapping
i.at daemon
e.PPID
Directory storing the shell environment and scheduled commands.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
32
When there are multiple background processes executing in the shell, the jobs command indicates the most recent one with a(n) ____ symbol.

A) *
B) +
C) -
D) /
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
33
Match each term with the correct statement below.
a.cron daemon
f.PID
b.program
g./etc/crontab
c./var/spool/cron
h./var/spool/at
d.trapping
i.at daemon
e.PPID
Identifies the process that started another process.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
34
Match each term with the correct statement below.
a.cron daemon
f.PID
b.program
g./etc/crontab
c./var/spool/cron
h./var/spool/at
d.trapping
i.at daemon
e.PPID
Daemon used to schedule a command to execute once in the future.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
35
Match each term with the correct statement below.
a.cron daemon
f.PID
b.program
g./etc/crontab
c./var/spool/cron
h./var/spool/at
d.trapping
i.at daemon
e.PPID
An executable file on the hard disk that can be run when you execute it.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
36
To display a list of at Job IDs, you can specify the ____ option to the at command.

A) -l
B) -u
C) -a
D) -d
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
37
Match each term with the correct statement below.
a.cron daemon
f.PID
b.program
g./etc/crontab
c./var/spool/cron
h./var/spool/at
d.trapping
i.at daemon
e.PPID
A process's identifier that allows the kernel to identify it uniquely.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
38
Match each term with the correct statement below.
a.cron daemon
f.PID
b.program
g./etc/crontab
c./var/spool/cron
h./var/spool/at
d.trapping
i.at daemon
e.PPID
Ignoring a kill signal.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
39
The amount of time a process has to use the CPU is called a(n) ____________________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
40
Match each term with the correct statement below.
a.cron daemon
f.PID
b.program
g./etc/crontab
c./var/spool/cron
h./var/spool/at
d.trapping
i.at daemon
e.PPID
The location of user cron tables.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
41
How does the nice value affect process priority? How and why can nice values be altered?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
42
Describe the system cron table. How it is organized, and what information may be contained within it?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
43
What is forking?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
44
Why would you want to schedule commands? What methods are available for scheduling commands?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
45
Describe the purpose the process state column displayed by the ps -l command. What values may appear in this column, and what do these values indicate?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
locked card icon
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.