Tail: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 10: Line 10:


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


Line 16: Line 16:


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



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>