1、替换某列的某个字符(gsub) 将第5列的M替换为空格 find /u03/ -type f |xargs ls -l --block-size=M| awk 'gsub(/M/,"",$4) {print $NF,$5}'