Difference between revisions of "Main Page/IT/text processing/awk"
From Lewis Consultancy Wiki
< Main Page | IT | text processing
Jump to navigationJump to search (Created page with "=print a column= <pre>ping $(ip route |awk '/default/{print $3}')</pre> Pings the default gateway as found from ip route.") |
(No difference)
|
Latest revision as of 15:43, 16 October 2014
print a column
ping $(ip route |awk '/default/{print $3}')
Pings the default gateway as found from ip route.