I'm trying to capture the 9th field of all but the first 2 lines of the ls command :
Code:
ls | awk ' NR > 2' | awk ' {print $9}'
Is there a way of streamlining this code so I only use one awk command as opposed to two. I've tried to use the
for control statement but have failed !
Cheers,
Uncle