Discussion in 'Linux' started by Gabriel9999, May 26, 2020.
Iwant to list only users names in a Linux system byusing the /etc/passwd file.
Code: cat /etc/passwd|cut -d ":" -f1
cat /etc/passwd|cut -d ":" -f1
You need to login to view this posts content.