Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

linux show groups

cut -d: -f1 /etc/group | sort
Comment

linux list groups

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

linux groups

cut -d: -f1 /etc/group | sort
Comment

list groups linux for user

groups userName-Here
Comment

PREVIOUS NEXT
Code Example
Shell :: pip install tkinter 
Shell :: git delete all branches except master 
Shell :: how to uninstall gitlab in ubuntu 
Shell :: remove snap package 
Shell :: pretty git log 
Shell :: installing SQLite3 on ubuntu 20.04 
Shell :: uninstall in linux 
Shell :: windows update node 
Shell :: delete old files linux 
Shell :: unable to start ssh-agent service, error :1058 
Shell :: force remove directory windows 
Shell :: checklist github readme 
Shell :: docker remove all exited containers 
Shell :: how to push code on bitbucket 
Shell :: resize image on github comment 
Shell :: ubuntu top bar hide 
Shell :: bash install apache 
Shell :: scikit 
Shell :: install ninja on fedora 
Shell :: ionic capacitor ios live reload 
Shell :: kubectl delete all pods 
Shell :: install nodemon typescritp 
Shell :: view git username 
Shell :: ubuntu command line replace word in files 
Shell :: edit sshd_config 
Shell :: installing isomorphic-fetch and simply doing 
Shell :: kill port in windows 
Shell :: Composer detected issues in your platform: Your Composer dependencies require the following PHP extensions to be installed: xml 
Shell :: transfer files to cluster 
Shell :: No CMAKE_CXX_COMPILER could be found. 
ADD CONTENT
Topic
Content
Source link
Name
3+2 =