Guest User

Untitled

a guest
Dec 12th, 2017
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. awk '{sub($1 FS,"" );print}' => remove 1st field and take the remaining.
  2. awk '{print $NF}' => return last field
  3. awk '{print ( $(NF-1) )}' => return 2nd to last field
Add Comment
Please, Sign In to add comment