From a text file, I want to remove the first 6 columns. I tried sed as follows, but I have to do it six times (one for each column). Is there any efficient way to do it (or pass the 6 columns at once for sed)?
sed -i -r 's/(\s+)?\S+//1' file
Thanks!