du -h * | awk '$1 ~ /[0-9]+M/ && $1+0 > 20 {print $0}' | sort -h | uniq
du -h *
: Lists the sizes of all files and directories in human-readable format.awk '$1 ~ /[0-9]+M/ && $1+0 > 20 {print $0}'
: Filters the output to only include lines where the size is in megabytes and greater than 20MB.sort -h
: Sorts the filtered results in human-readable format.uniq
: Removes any duplicate lines from the sorted output.