Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

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.

share|improve this question

1 Answer 1

up vote 14 down vote accepted

The answer to your query is Ctrl-C

share|improve this answer
:) I was used to Control-B Thanks. :) – MEM Apr 24 '11 at 16:20
In general pressing Ctrl-C sends the 'interrupt' signal, aka SIGINT, to whatever is running. It tells the application that that the user wants to interrupt whatever it is currently doing. Many applications will exit when the get that signal, as tail does, others may stop doing something but continue running. – bdsl Aug 25 at 10:38

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.