Search code examples
unixcut

Unix cut, remove first token


I'm trying to use Unix cut to remove the first two fields per line. I have input lines of of the form

(token)(whitespace)(token)(lots of text)

The problem is that there exit n tokens per line, so I can't do something like this

cut -f3,4,5,6,7,8,9

Is there a way to tell cut to take everything except the specified fields?


Solution

  • cut -d' ' -f3-
    

    -d' ' might be required.