Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

linux filter specific group with cat and grep

cat /etc/group

cat /etc/groups | grep <groupname>
  
# Example:
cat /etc/groups | grep sudo
# Output
sudo:x:27:<user1>, <user2>, <user3>...

# sudo : group name
# x : password (encrypted for security reasons)
# 27 : could be another number, represents group ID
# list of users in group
Comment

PREVIOUS NEXT
Code Example
Shell :: install tkinter 
Shell :: macbook how to reset launchpad 
Shell :: install nodemcu in arduino 
Shell :: install pyqt5 tools 
Shell :: check bash version 
Shell :: xrandr add 1920 
Shell :: reload restart bashrc 
Shell :: git reset file to master 
Shell :: list users debian 
Shell :: linux format usb command line 
Shell :: flutter doctor Xcode installation is incomplete; a full installation is necessary for iOS development. 
Shell :: git push force 
Shell :: spacy install en_core_web_lg 
Shell :: git show staged files 
Shell :: install material ui lab 
Shell :: login github command line 
Shell :: install apache2 ubuntu 
Shell :: install scikit learn windows 
Shell :: mongodb show database command linux 
Shell :: command to install react cli 
Shell :: linux get docker compose logs 
Shell :: install uvicorn 
Shell :: install jdk linux 
Shell :: conda install keras gpu 
Shell :: how to manage icloud drive in terminal 
Shell :: how to list all gnome extensions 
Shell :: error mounting dev sdb1 at media on ubuntu 
Shell :: kivy install windows 
Shell :: bash service list 
Shell :: windows security not opening windows 11 
ADD CONTENT
Topic
Content
Source link
Name
8+2 =