Filter Columns with awk
BashPrint specific columns and filter by a numeric threshold.
#!/usr/bin/env bash
set -euo pipefail
ls -l | awk '$5 > 1048576 { printf "%-10s %s\n", $3, $9 }'
Print specific columns and filter by a numeric threshold.
#!/usr/bin/env bash
set -euo pipefail
ls -l | awk '$5 > 1048576 { printf "%-10s %s\n", $3, $9 }'