Answers for "copy lines from one file to another linux"

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 "copy lines from one file to another linux"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language