awk '{for(i=6;i<=NF;i++){printf $i" "}print ""}'
1 2 3 four 5 6 seven 1 2 3 four 5 6 seven
6 seven 6 seven
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!