How to cut few lines from a big file using sed

ARUN Post in LINUX COMMANDS
0

Below command will cut lines 90 to 154 from  file.txt  and copy that to cut_file.txt

sed -n ’90,154p’ file.txt > cut_file.txt

 

« Prev: :Next »

Leave a Reply

You must be logged in to post a comment.