exam questions

Exam 101-500 All Questions

View all questions & answers for the 101-500 exam

Exam 101-500 topic 1 question 95 discussion

Actual exam question from LPI's 101-500
Question #: 95
Topic #: 1
[All 101-500 Questions]

Which of the following signals is sent to a process when the key combination Ctrl+Z is pressed on the keyboard?

  • A. SIGTERM
  • B. SIGCONT
  • C. SIGSTOP
  • D. SIGKILL
  • E. SIGINT
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Aleksandre
4 months, 2 weeks ago
It's SIGTSTP you can check that in C language
upvoted 2 times
...
Amycert
1 year, 10 months ago
Selected Answer: C
ctrl+z is SIGSTOP
upvoted 1 times
...
iwkno6
3 years, 4 months ago
An easy way to test this is to nano to a file and press ctrl+z, then you will see [stopped], hence it's SIGSTOP
upvoted 2 times
...
CuriousLinuxCat
3 years, 4 months ago
Ctrl + Z is useful when you want to temporarily stop what you are doing in the text editor (like Vim) to go check on a file somewhere in your hard drive on the same terminal.
upvoted 1 times
...
OB_AK
3 years, 10 months ago
Ctrl-Z sends SIGTSTP, a signal this causes the process to suspend execution. In this case, it is resumable - try executing a command that will take a while and press Ctrl-Z; you'll see something in the lines of [1]+ Stopped [your command]. Type fg in your Terminal and you'll see the process resuming, if it didn't end before resuming it.
upvoted 3 times
...
daca11
3 years, 12 months ago
SIGTSTP is correct (which is not an answer here). https://stackoverflow.com/questions/11886812/what-is-the-difference-between-sigstop-and-sigtstp
upvoted 2 times
...
rjlg2centos8
4 years, 1 month ago
Anyone of these options are correct, when you press CTRL+Z the signal SIGTSTP is sent.
upvoted 3 times
rjlg2centos8
4 years, 1 month ago
You can probe this by typing in the cmd: #sleep 60 CTRL+Z #echo $? and you rest 128 to this number, and you obtain the number of the signal, and then #kill -l and you will see all signals
upvoted 1 times
...
...
feuerphoenix
4 years, 3 months ago
E: SIGINT is correct Some mistakes on this Site.
upvoted 1 times
LKJ1230
4 years, 3 months ago
SIGINT means termination by interrupt Ctrl + z means stop. So C is right.
upvoted 7 times
...
Erwinator
4 years, 2 months ago
ctrl+c is SIGINT ctrl+z is SIGSTP
upvoted 8 times
MirecMirec
2 years, 5 months ago
student shall learn for both signals
upvoted 2 times
...
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...