The following command will display lines
7 thru 18 of the file named "people".
$ sed -n '{7,18p}' people
Is there any other command (or commands)
that will accomplish the same? If so, how
about sharing the syntax with me.
Hi,
awk ' NR >= 7 && NR <= 18 ' people
will do.
Regards,
Tshimanga
I tried it, and it works!
I like it! I like it a lot!!!
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.