Ubuntu – How to return to the shell/terminal

command line

Sometimes after I accidentally typing something in the terminal, e.g. after invoking a "tee" command I am unable to quit from that program to get back to the terminal. I usually try typing :q, quit, CTRL-Break, but nothing helps. So I close the terminal and open a new instance. Is there a standard way to quit from the executing command?

Best Answer

You can Use Ctrl + C or can use Ctrl + Z key to terminate a running process in command line

Related Question