Tail - how to quit tail and restore terminal window?

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.

2 Answers

The answer to your query is to hit Ctrl + C together

3

In Linux Mint 18 the answer actually is q to quit out of a tail view in terminal

1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like