Remove the first line of a text file

Removes the first line line of a file using tail. Tail defaults to printing the first `x-1` lines, so `+2` indicates it should skip the first line.

Authored by: Aaron Digulla
Brought to you by Warp, a free terminal reimagined to work like a modern app.
file_name

Command
Copy
tail -n +2 "$file_name"
Tags