The following command will print the 27th line of the file named "people":
$ sed -n {27p} people
Is there an equivalent awk command that will accomplish the same? If so, what is the syntax?
Hi,
awk ' NR == 27 ' people
will do.
Regards,
Tshimanga
Bingo!!!
That command does the trick!!!