awk {'print $5"\t"$1'}
awk print with tabs
Leave a reply
awk {'print $5"\t"$1'}
awk '{ print $0 ";" }' input > output
cat some_file | awk '!_[$1]++'
du -sm * | awk '{ total = total + $1 } END { print total }'
cat some_file.txt | awk ‘{if ($4==”some_txt”) print $0;}’