Monday, May 13, 2024
28
rated 0 times [  28] [ 0]  / answers: 1 / hits: 69582  / 2 Years ago, wed, december 8, 2021, 10:58:03

Is there a keyboard key combination that I can use to pause a program running in the terminal? In case it matters, I don't intend to run anything else inside that terminal while the program is paused. I just want to pause the program execution, and resume it later. How can I do this?


More From » gnome-terminal

 Answers
2

Press Control+Z.



This will suspend the process and return you to a shell. You can do other things now if you want or you can return to the background process by entering % followed by Return.



Note that if you're doing this to something that needs to be responsive, you're going to tank the system, but if it's just something like a nano instance, everything should be okay.


[#25227] Friday, December 10, 2021, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
heaco

Total Points: 479
Total Questions: 124
Total Answers: 114

Location: Lesotho
Member since Sat, Oct 1, 2022
2 Years ago
;