shell如何在/etc/passwd文件中查找到当前用户的UID
提问:shell如何在/etc/passwd文件中查找到当前用户的UID
网友回答:
直接用
grep 用户名 /etc/passwd
就可以看到UID了