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

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

PREVIOUS NEXT
Code Example
Shell :: bash get last character of string 
Shell :: how to remove windows 10 built in apps powershell 
Shell :: bash find text in specific file 
Shell :: laravel install by composer 
Shell :: arch linxu 
Shell :: deploy stack cloudformation cli 
Shell :: Adding local user to Docker group 
Shell :: windows features windows subsystem for linux not 
Shell :: install composer on ubuntu 20.04 
Shell :: install get cli 
Shell :: line number in nano editor 
Shell :: whats home directory variable linux 
Shell :: npm install version 
Shell :: revert a specific old commit 
Shell :: install radeon drivers ubuntu 
Shell :: git add gitignore 
Shell :: How to Change Your MySQL/phpmyadmin Password in XAMPP 
Shell :: redis remove key 
Shell :: Updating Packages in WSL 
Shell :: stop tracking git pattern 
Shell :: install node_modules 
Shell :: how to start nginx in ubuntu 
Shell :: import db drush 
Shell :: Re-run cmake with a different source directory. 
Shell :: check user shell in linux 
Shell :: linux script as background process 
Shell :: codeigniter 4 db seed 
Shell :: git change file case windows 
Shell :: find command in linux 
Shell :: ssh key generation 
ADD CONTENT
Topic
Content
Source link
Name
3+9 =