Tail: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
(Created page with "=Internal= * bash =Overview= =Usage= ==Last Line== tail -n 1 <''file-name''> ==Continuous== tail -f <file-name>")
 
Line 9: Line 9:
==Last Line==
==Last Line==


tail -n 1 <''file-name''>
<syntaxhighlight lang='bash'>
tail -n 1 <''file-name''>
</syntaxhighlight>
 
Equivalent:
 
<syntaxhighlight lang='bash'>
tail -1 <''file-name''>
</syntaxhighlight>


==Continuous==
==Continuous==


  tail -f <file-name>
  tail -f <file-name>

Revision as of 20:05, 15 July 2020

Internal

Overview

Usage

Last Line

tail -n 1 <''file-name''>

Equivalent:

tail -1 <''file-name''>

Continuous

tail -f <file-name>