Created
July 14, 2022 19:24
-
-
Save grizmio/bd657ffb4a714c4fed2c4da499161628 to your computer and use it in GitHub Desktop.
awk all except n-th column
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ history |grep docker|awk -F' ' '{ for (i=2;i<NF;i++) printf " " $i; print " "$NF }'|grep -v history |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment