ctrl + s versus
ctrl + z in a terminal
ctrl + s
ctrl + s freezes the terminal display. This is useful to read an information when a loot of text is outputted in the terminal.
To unfreeze the terminal you have to press
ctrl + q.
ctrl + z
ctrl + z freezes the current process and put it in the background. You can unfreeze it in the background with the command
bg or unfreeze it in the foreground with the command
You can also start a process directly in the background by adding the character
& at the end of the command launching it.
jobs displays the different processes in the background. You can also use the
fg command followed by the process number outputted by
jobs to interact with a specific process.