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>")
 
 
(2 intermediate revisions by the same user not shown)
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>
<syntaxhighlight lang='bash'>
tail -f <file-name>
</syntaxhighlight>

Latest revision as of 20:09, 15 July 2020

Internal

Overview

Usage

Last Line

tail -n 1 <file-name>

Equivalent:

tail -1 <file-name>

Continuous

tail -f <file-name>