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.
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.
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
This section is not available anymore. Please use the main Exam Page.101-500 Exam Questions
Log in to ExamTopics
Sign in:
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.
Aleksandre
10 months agoAmycert
2 years, 3 months agoiwkno6
3 years, 9 months agoCuriousLinuxCat
3 years, 9 months agoOB_AK
4 years, 4 months agodaca11
4 years, 5 months agorjlg2centos8
4 years, 6 months agorjlg2centos8
4 years, 6 months agofeuerphoenix
4 years, 9 months agoLKJ1230
4 years, 9 months agoErwinator
4 years, 8 months agoMirecMirec
2 years, 10 months ago