unix

How do I print all lines except for the first line using the awk command?

Using the awk command, you can do many useful things, one of which is printing only what you want. If for example, you only wanted to print everything except for the first line, you could do this:

awk ‘NR>1’ /path/to/my/file

Click to comment

Leave a Reply

Your email address will not be published. Required fields are marked *

To Top