Ubuntu – What does the ‘tail’ command do

command linetail

I'm new to Ubuntu. I previously ran a tail -f /var/logs/syslog and get the following displayed results:

kernel: [ 2609.699995] [drm:gen6_sanitize_pm] *ERROR* Power management discrepancy: GEN6_RP_INTERRUPT_LIMITS expected 000d0000, was 1a0d0000

What does that mean?

Best Answer

I'd suggest you take a look at the man page of tail. Just run man tail in your shell, or check it online.

Print the last 10 lines of each FILE to standard output. With more than one FILE, precede each with a header giving the file name. With no FILE, or when FILE is -, read standard input.

-f, --follow[={name|descriptor}]
output appended data as the file grows; -f, --follow, and --fol- low=descriptor are equivalent

And if you don't know what's man, you can always type man man ;)

Related Question