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