Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
Adam Tauno Williams — — source: Informix-list mailing list archive (1991-1998)
>Hi All,
>How can i get nth line (for example say 100th line) from a text file
>directly?
>I don't want to scan whole file for that using a loop.
>Like TOP and TAIL command, is there anything to read a range of lines
>in-between?
sed -n '10,12p' {filename}
Print lines 10 through 12
Systems and Network Administrator
Morrison Industries
1825 Monroe Ave NW.
Grand Rapids, MI. 49505
Your privacy choices
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.