Hello,
i'm trying to print specific lines from a file using only one command
for example:
a file contains 30 lines , i wish to print the content of lines 13, 14, 15, 16??
what command to use for that?
Blackeagle
0
Light Poster
Recommended Answers
Jump to Postsed, awk, or perl
Jump to Postsed with the -n option and the "p" "operator". Try reading the man page for sed again, then post your attempt here.
All 6 Replies
Salem
5,138
Posting Sage
Blackeagle
0
Light Poster
masijade
1,351
Industrious Poster
Team Colleague
Featured Poster
Blackeagle
0
Light Poster
masijade
1,351
Industrious Poster
Team Colleague
Featured Poster
Salem
5,138
Posting Sage
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.