Nguyễn Thành Huy
New member
How do I print the nth line in Linux?
Answer
M~N with “p” command prints
every Nth line starting from line M. For example, 3~2p prints every 2nd line starting from 3rd line as shown below.
Answer
M~N with “p” command prints
every Nth line starting from line M. For example, 3~2p prints every 2nd line starting from 3rd line as shown below.