In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)05/31 Report--
This article mainly introduces the linux system how to check what the user has the relevant knowledge, the content is detailed and easy to understand, the operation is simple and fast, has a certain reference value, I believe you will gain after reading this linux system how to check which articles users have, let's take a look at it.
Method: 1, use the "Alt+F2" shortcut key to open the command input box, enter the "gnome-terminal" command, press the enter key to open the terminal; 2, enter the "cat / etc/passwd" command, enter to execute the command; 3, you can view the information of all users in the output results.
The operating environment of this tutorial: Ubuntu 16.04 system, Dell G3 computer.
Linux views all user and group information
First, press the Alt+F2 shortcut in the ubuntu system to open the command input box, enter the "gnome-terminal" command, and then press the enter key to open the terminal.
Then enter the command line cat / etc/passwd and press enter directly.
Then a lot of information will be displayed here, and all the users will be in it.
Then look at all the groups, the same method, type the command line cat / etc/group and enter
Then all the groups in the system will be displayed, like the user, the last one is the one I just created.
Using the command line groups user name, you can view the information of the group in which the current user belongs and other members of the group
This is the end of the article on "how to check what users have in the linux system". Thank you for reading! I believe that everyone has a certain understanding of the knowledge of "how to check what users have in linux system". If you want to learn more knowledge, you are welcome to follow the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.