On Tue, 4 Aug 2020 18:19:11 +0000, Anonymousemail
<nore...@anonymousemail.me> wrote:

> This command gives an error:
>
> $ tail -5 foo bar baz
> tail: option used in invalid context -- 5
>
> For comparison, the equivalent head commans works exactly as expected:

Even if head works, the -<number> syntax is obsolete and should be replaced
by -n <number>.

Try "tail -n 5" and it should work.

--
D.



Reply via email to