Skip to content

Instantly share code, notes, and snippets.

@tkuchiki
Created November 26, 2013 03:50
Show Gist options
  • Save tkuchiki/7653212 to your computer and use it in GitHub Desktop.
Save tkuchiki/7653212 to your computer and use it in GitHub Desktop.
awk でN番目以降の値を表示
ls -l | awk 'NR > 1 { for (i = 10; i < NF; i++) { printf("%s ", $i) } print $NF }'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment