Home / Labs / Users and Groups

Users and Groups

Quick answer: Run cat /etc/passwd. Each line is one user. To print just the names, use cut -d: -f1 /etc/passwd or awk -F: '{print $1}' /etc/passwd.

Read /etc/passwd and sort real user accounts from system ones.

Open this lab

Commands practised here

Nearby labs