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
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
7 months, 3 weeks agoAmycert
2 years, 1 month agoiwkno6
3 years, 7 months agoCuriousLinuxCat
3 years, 7 months agoOB_AK
4 years, 2 months agodaca11
4 years, 3 months agorjlg2centos8
4 years, 4 months agorjlg2centos8
4 years, 4 months agofeuerphoenix
4 years, 6 months agoLKJ1230
4 years, 6 months agoErwinator
4 years, 6 months agoMirecMirec
2 years, 8 months ago