Tuesday, May 22, 2018

Useful Unix Commands

Extracting 1 - 10 lines from an input.txt file and write to output.txt
sed -n -e '1,10p' input.txt > output.txt

No comments:

Post a Comment