Short bio: Computer Scientist, FOSS supporter (read more)
Tux Machines (TM)-specific
When you’re running a command that’s going to take a long time in your bash shell, but then you suddenly decide you don’t want to run it any more, CLI newbies can often be stuck as to how they should terminate a running command (aside from closing the terminal window). There are also other occasions when you want to control the process that’s running inside your terminal.
This post is going to give you a quick run-down of some of the most common key combinations that perform useful actions like terminating processes and setting them to run in the foreground and background.