Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 303 Bytes

unix-head-tail.md

File metadata and controls

12 lines (8 loc) · 303 Bytes

Title: Unix command: head and tail Tags: unix|unix-head|unix-tail Date: 2012-12-02 10:45:28 -0500 Author: Denevell

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