Hi all, I am trying to figure out the users logged in to our general server at work. Is there a command or string of commands that lists users (only once if logged in multiple times) in alphabetical order with no stats behind the username?

Hello,

the typical ones that come to mind:

who
last

If you need only parts of the output, pipe them through an awk.

try
who | sort

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.