linux shell 查看磁盘用的百分比

df | grep '/$'| awk '{print $(NF-1)}' | awk -F'%' '{print $1}'

posted @ 2019-08-06 11:41  酷酷的城池  阅读(1881)  评论(0编辑  收藏  举报