Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

linux show groups

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

linux show 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

PREVIOUS NEXT
Code Example
Shell :: get a loading spinner javascript react 
Shell :: copy file to ubuntu server 
Shell :: how to update pg_dump version linux 
Shell :: what is the ssh credentials for minikube 
Shell :: Unsupported upgrade request. 
Shell :: how to start ngrok server 
Shell :: delete all files in a directory command 
Shell :: react navigation install 
Shell :: how to execute a bash script in terminal 
Shell :: sum bash 
Shell :: ssh with key 
Shell :: supertest npm 
Shell :: vim remove all commented lines 
Shell :: get folder from differente branch git 
Shell :: install drush on ubuntu 
Shell :: gulp-gzip 
Shell :: cant-push-to-github-because-of-large-file-which-i-already-deleted 
Shell :: a new powershell stable release is available 
Shell :: add ignored file to git 
Shell :: cloning repository github 
Shell :: git revert to old commit 
Shell :: ssh server windows 11 
Shell :: your repository has no remotes configured to push to 
Shell :: change name of branch github 
Shell :: start of .sh file 
Shell :: set java home in ubuntu 
Shell :: linux command to open a file 
Shell :: how to delete a file in linux 
Shell :: cron job 
Shell :: how to append string to file names in linux 
ADD CONTENT
Topic
Content
Source link
Name
4+6 =