awk remove first n lines code example Example: how to remove first line from output using awk sed -n '1!p' or awk '{if(NR>1)print}'