Non-academic troubleshooting and skills
Sunday, December 11, 2016
linux bash: How to remove the first line of each file
sed -i -e "1d" $FILE
or
tail
-
n
+
2
"$FILE"
check
http://stackoverflow.com/questions/339483/how-can-i-remove-the-first-line-of-a-text-file-using-bash-sed-script
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment