Ubuntu – Tail – how to quit tail and restore terminal window

tail

Let's say we do:

tail -f  /var/log/apache2/error.log

Then we see what we want to see, and then, we want to quit, so that we can navigate to other directories and so on… So, the question is:

How can we quit tail ?

I've tried to type: 'q', and 'exit', and 'quit', and 'kill', no luck.

Best Answer

The answer to your query is Ctrl-C

Related Question