USERS(1)

πŸ’– USERS(1) πŸ’–

okay bestie, welcome to the General Commands Manual page for users, and no bc you're gonna slay this one. it's giving "who's online rn" but make it Unix. πŸ¦‹


✨ NAME ✨

users β€” print the user names of users currently logged in to the current host. that's it. that's the whole job. iconic honestly. πŸ‘‘


🌸 SYNOPSIS 🌸

users [FILE]

πŸ’… DESCRIPTION πŸ’…

so literally what this does: it prints the user names of users who are currently logged in to the current host. that's the vibe. one job, does it well, no notes. ✨


πŸŽ€ OPTIONS πŸŽ€

  • -h, --help β€” prints help. your little "what do i do" button. 🫢
  • -V, --version β€” prints version. so you know what you're working with. πŸ’œ
  • [file] β€” a file to look at instead of the default one, which we get into right below. lowkey the main character of this page. 🌈

πŸ”₯ EXTRA πŸ”₯

Here's the tea: this outputs who is currently logged in according to FILE. so if you hand it a file, it reads that instead. πŸ“‚

If FILE is not specified, it uses /var/run/utmp. that's the default, that's the one it reaches for when you give it nothing. πŸ“

and btw, /var/log/wtmp as FILE is common. people do that a lot. iykyk. πŸ’€


πŸ‘‘ VERSION πŸ‘‘

v(uutils coreutils) 0.12.0


🌟 EXAMPLES 🌟

Print logged in usernames:

users

Print logged in usernames according to a given file:

users /var/log/wmtp
πŸ’– The examples are provided by the tldr-pages project <https://tldr.sh> under the CC BY 4.0 License. Please note that, as uutils is a work in progress, some examples might fail. no cap, it's a WIP, be nice to it πŸ₯Ί

okay that's the whole page bestie, go forth and users 🧚 this was the USERS(1) page from the General Commands Manual, dated 2026-09-25 β€” and the version is v(uutils coreutils) 0.12.0, mwah πŸ’‹ periodt. πŸ’…

πŸ“¦ where this page comes from