Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

linux show all user

awk -F: '{ print $1}' /etc/passwd
#or
cut -d: -f1 /etc/passwd
Comment

users list linux

cut -d: -f1 /etc/passwd
or
cat /etc/passwd
Comment

get users linux

$ cat /etc/passwd | cut -d: -f1
Comment

linux list users

cut -d: -f1 /etc/passwdCopy
Comment

PREVIOUS NEXT
Code Example
Shell :: how to remove .idea from git 
Shell :: remove stash files git 
Shell :: react native expo install 
Shell :: ImportError: cannot import name docevents 
Shell :: ubuntu 21.04 mingw download 
Shell :: macos install airport 
Shell :: linux filter groups 
Shell :: git credentials 
Shell :: log apache2 ubuntu 
Shell :: composer remove package 
Shell :: windows update node 
Shell :: how to install specific version of bootstrap using npm 
Shell :: docker start all containers 
Shell :: ssd health check terminal linux 
Shell :: Check cpu raspberry pi 
Shell :: linux ext-gd * 
Shell :: git cambiar pull https por ssh 
Shell :: debian install opengl 
Shell :: yarn list global packages 
Shell :: install razer synapse ubuntu 
Shell :: completely remove ros melodic 
Shell :: pacman update repo 
Shell :: Clone a specific repository 
Shell :: gitignore for ue4 
Shell :: close port 
Shell :: apache google 2fa 
Shell :: show the list of file of a commit 
Shell :: close port ubuntu 
Shell :: Apply executable permissions to the binary: permission denied 
Shell :: git change personal access token command line 
ADD CONTENT
Topic
Content
Source link
Name
7+5 =