0
0
Linux CLIscripting~10 mins

kill and signal types in Linux CLI - Interactive Code Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the command to send the TERM signal to process 1234.

Linux CLI
kill -[1] 1234
Drag options to blanks, or click blank then click option'
A9
B1
C15
D0
Attempts:
3 left
💡 Hint
Common Mistakes
Using signal 9 (KILL) which forcefully stops the process.
2fill in blank
medium

Complete the command to forcefully kill process 5678.

Linux CLI
kill -[1] 5678
Drag options to blanks, or click blank then click option'
A9
B2
C15
D1
Attempts:
3 left
💡 Hint
Common Mistakes
Using TERM (15) which allows process to clean up.
3fill in blank
hard

Fix the error in the command to send the HUP signal to process 4321.

Linux CLI
kill -[1] 4321
Drag options to blanks, or click blank then click option'
A0
B9
C15
D1
Attempts:
3 left
💡 Hint
Common Mistakes
Using 15 (TERM) instead of 1 (HUP).
4fill in blank
hard

Fill both blanks to send the INT signal to process 8765 using signal name.

Linux CLI
kill -[1] [2]
Drag options to blanks, or click blank then click option'
AINT
B8765
C1234
DTERM
Attempts:
3 left
💡 Hint
Common Mistakes
Using wrong signal name or wrong process ID.
5fill in blank
hard

Fill both blanks to send the STOP signal to process 3456 using signal number.

Linux CLI
kill -[1] [2]
Drag options to blanks, or click blank then click option'
A9
B3456
C19
D15
Attempts:
3 left
💡 Hint
Common Mistakes
Using KILL (9) or TERM (15) instead of STOP (19).