sed替换查看账户及账户过期时间

cat /etc/shadow | awk -F ":" '{print $1,$5}' | sed -e 's/ /,/g'

 

posted @ 2024-04-08 17:14  LB_运维技术  阅读(2)  评论(0编辑  收藏  举报