AWK Field Notes
with tags linux field-notes awk -Misc notes and snippets in a Field Notes style
Links
Quick
# Get amount of free mem (in -m MB)
$ free -m | grep -E '^Mem' | awk '{print $4}'
$ free -m | awk '/^Mem/ {print $4}'
Misc notes and snippets in a Field Notes style
# Get amount of free mem (in -m MB)
$ free -m | grep -E '^Mem' | awk '{print $4}'
$ free -m | awk '/^Mem/ {print $4}'