What is the linux text editor command that I can see output in real time?

2

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 that I use?

    
asked by anonymous 30.08.2016 / 16:03

2 answers

7

You can use the:

tail -f nome_do_arquivo

or:

tailf nome_do_arquivo
    
30.08.2016 / 16:04
1

less file.log and after opening the file shift+f will play the same role as the tail. It also allows you to browse the file, make searches, etc. Anyway, it's a read-only vi. See in this article .

    
31.08.2016 / 04:24