6 ms·
Unintuitively, tail is the utility you want: $ tail -n +2 file From tail(1): -n, --lines=K output the last K lines, instead of the last 10; or use -n
by RJIb8RBYxzAMX9u 10y ago
Unintuitively, tail is the utility you want:
$ tail -n +2 file
From tail(1):
-n, --lines=K
output the last K lines, instead of the last 10; or use -n +K to output lines starting with the Kth
- fiddlerwoaroof 10y agoYeah, I know about that, I just prefer not to use that option because `head -1 > /dev/null` is clearer