Linux正則及用戶管理練習

1、who | cut -d" " -f1 | sort -u      2、lastlog | grep "\<tty"      lastlog | grep -v "[**]"     3、cut -d: -f7 /etc/passwd | sort -f | uniq -c -d | sort -r | head -1 | grep -E -o "/.*" 4、cat /etc/passw
相關文章
相關標籤/搜索