Kill Processes Flashcards

1
Q

What command do you use to start a process in the background with a script file?

A

<scriptfile> <argument> &
</argument></scriptfile>

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

What command do you use to list existing jobs?

A

jobs

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

What command do you use to stop a process?

A

kill -SIGSTOP %1

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

What command do you use to terminate a process?

A

kill -SIGTERM %2

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

What command do you use to resume a process?

A

kill -SIGCONT %1

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

What command do you use to ist all current running processes and refine the search?

A

ps -ef | grep <argument></argument>

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

What command do you use to terminate a process?

A

pkill -SIGTERM <argument></argument>

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