Tail: Difference between revisions
Jump to navigation
Jump to search
(One intermediate revision by the same user not shown) | |||
Line 10: | Line 10: | ||
<syntaxhighlight lang='bash'> | <syntaxhighlight lang='bash'> | ||
tail -n 1 < | tail -n 1 <file-name> | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Line 16: | Line 16: | ||
<syntaxhighlight lang='bash'> | <syntaxhighlight lang='bash'> | ||
tail -1 < | tail -1 <file-name> | ||
</syntaxhighlight> | </syntaxhighlight> | ||
==Continuous== | ==Continuous== | ||
<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>