Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Shell/Bash
sed remove first line
yenkaykay
Programming language:
Shell/Bash
2021-06-08 05:58:15
0
Q:
sed remove first line
CElestin
Code:
Shell/Bash
2021-03-03 16:05:35
tail -n +2 "$FILE" > "$FILE.tmp" && mv "$FILE.tmp" "$FILE"
1
Tags
line
remove
first
Related
cut last field delimiter
sed remove until first occurrence
delete first two lines of file linux
remove line with pattern
bash delete first n characters of each line
deletes lines including regex match
bash remove first character from line
cut first 10 characters linux
delete strings after match to eol using sed command
New to Communities?
Join the community