linux - How to show only newly logged content in tail -f? -


normally tail -f shows 10-15 logged content. how can avoid it? want see newly logged content. there switch in tail command that? please advice.

simply set return 0 lines:

tail -n 0 -f /var/log/syslog 

man tail:

   -n, --lines=k           output last k lines, instead of last 10; or use -n +k output lines starting kth 

Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -