Killing commands Flashcards

(10 cards)

1
Q

what does kill command do?

A

MURDERS PROCESSES

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

what does the -l argument do in kill?

A

show skill signals names and associated numbers

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

true or false the kill -STGQUIT 1199 is the same as kill -2 1199

A

FALSE it is the same as kill -3 1199

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

what happens if you do not say the kill signal when using the kill command?

A

uses the default kill signal SIGTERM

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

what does the pidof command do?

A

finds the PID of a process

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

what does pgrep do?

A

finds processes that mathc a regular expression

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

what does the lsof command do?

A

list files that a processes has open

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

what does the nohup command do?

A

makes a process imument to being kill

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

what does the KILL ALLLLLLLL command do?>

A

what kill all does is send the kill signal to process names

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

what does the pkill command do?

A

kill process by process name BITCH

How well did you know this?
1
Not at all
2
3
4
5
Perfectly