My Tech Notes
Search This Blog
awk: print the last two columns
cat file | awk '{print $(NF-1) $NF}'
or
awk '{print $(NF-1) $NF}' file
No comments:
Post a Comment
Newer Post
Older Post
Home
View mobile version
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment