Frage

I have a program that displays many line in the output

How I can make it display the all output except the first 2 lines?

War es hilfreich?

Lösung

easily using tail command:

tail -n+3

Andere Tipps

You could use awk

awk 'NR>2' file

In order to complete the triplet,

sed '1,2d' file
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top