-
-
Notifications
You must be signed in to change notification settings - Fork 2
Linux who Guide
Mattscreative edited this page Dec 5, 2025
·
2 revisions
Complete beginner-friendly guide to who on Linux, covering Arch Linux, CachyOS, and other distributions including viewing logged-in users, login information, and system activity.
who shows who is logged in.
Uses:
- Logged in users: See active users
- Login times: When users logged in
- Terminals: Which terminals are in use
- System activity: Monitor system usage
Why it matters:
- Security: See who's on system
- Monitoring: Track system usage
- Troubleshooting: Debug login issues
Show logged in:
# Show all logged in users
who
# Output format:
# username tty1 2024-01-15 10:00 (:0)More details:
# Show with details
who -a
# Show with headers
who -HShow yourself:
# Show current user
who am i
# Or
whoamiComplete info:
# All information
who -a
# Includes:
# - Username
# - Terminal
# - Login time
# - Remote hostSystem uptime:
# Show boot time
who -b
# System boot timeRecent logins:
# Show login history
last
# Or
lastlogCheck installation:
# Check who
which who
# Usually in coreutils
# Install if missing
sudo pacman -S coreutilsThis guide covered who usage, user listing, and login information for Arch Linux, CachyOS, and other distributions.
- w Guide - User activity
- whoami Guide - Current user
- User and Groups - User management
-
who Documentation:
man who
This guide covers Arch Linux, CachyOS, and other Linux distributions. For distribution-specific details, refer to your distribution's documentation.