User Tools

Site Tools


awk:display_specific_fields_only

AWK - Display specific fields only

For example to only display fields 1 and 4 from the input:

df -h | awk '{print $1, $4}'
awk/display_specific_fields_only.txt · Last modified: 2020/09/23 16:18 by 192.168.1.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki