I have the following file and I need to print everything except $1 and $2 by awk
$1
$2
awk
File:
INFORMATION DATA 12 33
danbens answer leaves a whitespace at the end of the resulting string. so the correct way to do it would be:
awk '{for (i=3; i<NF; i++) printf $i " "; print $NF}' filename