What is the linux text editor command that I can see output in real time?
What is the linux text editor command that I can see output in real time?
For example I want to give a " vim " in the access log of my apache I want to see the GET entering the log in real time what is the parameter I use ?
2
Author: Allan Andrade, 2016-08-30
2 answers
You can use:
tail -f nome_do_arquivo
Or:
tailf nome_do_arquivo
7
Author: Allan Andrade, 2016-08-30 14:04:55
less file.log
and after opening the file shift+f
will do the same role as tail. It also allows you to browse the file, do searches, etc. Anyway, it's a read-only vi. See in this article for more details.
1
Author: Wellington Souza, 2016-08-31 03:01:28