Answers for "bash select first n lines and write to another file"

1

copy first 10 lines of a file to another file in unix

sed -n '1,10p' filename > newfile
Posted by: Guest on February-26-2021

Code answers related to "bash select first n lines and write to another file"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language