Christopher Juckins

SysAdmin Tips, Tricks and other Software Tools

User Tools

Site Tools


awk_examples

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
awk_examples [2019/06/28 09:45]
juckins
awk_examples [2019/06/28 09:45] (current)
juckins
Line 11: Line 11:
 \\ \\
 \\ \\
-Using:\\+Using:
  
   awk -F " " '​{print $10,​$13}'​ | sed -E '​s/​[0-9]*//​g'​| sed -E '​s/​__$//​g'​ |tail -4   awk -F " " '​{print $10,​$13}'​ | sed -E '​s/​[0-9]*//​g'​| sed -E '​s/​__$//​g'​ |tail -4
  
 (Adjust the $10,$13 fields as appropriate) (Adjust the $10,$13 fields as appropriate)
awk_examples.txt ยท Last modified: 2019/06/28 09:45 by juckins