Glossary: Operating System Basics
awk
A small tool that picks fields out of lines of text. `awk '/^MemTotal/ {print $2}' /proc/meminfo` prints the second field of the MemTotal line.
Glossary: Operating System Basics
A small tool that picks fields out of lines of text. `awk '/^MemTotal/ {print $2}' /proc/meminfo` prints the second field of the MemTotal line.