Extract Lines From a Text File

“sed -n 2,4p file_name”

extracts lines from 2 to 4 from that file

Unknown's avatar

About Ahmed Tawfik

Cybersecurity Professional, Systems Engineer, OSS & Linux Geek
This entry was posted in Uncategorized and tagged , . Bookmark the permalink.

Leave a comment