home.


Tagged: unix-head


Unix command: head and tail

cat textfile | tail -n +2

This will show the textfile from the second line onwards.

cat textfile | head -n +2

This will show the textfile from the second to last line upwards

unix unix-head unix-tail

Page 1 of 1