查出用户UID最大值的用户名、UID及shell类型

cut -d: -f1,3,7 /etc/passwd |sort -t: -k2 -n | tail -1
原文地址:https://www.cnblogs.com/qianyuezhan/p/13284001.html