Thursday, December 12, 2019

How to use the Linux uniq command

In Linux, the uniq command can help find out the individual users who are logged into a given server, but it’s not a straightforward process.

Yes, using the command on its own yields a list of who’s logged in, but it can list individual users more than once depending on what they’re doing.

There are ways to get around this by sorting the results of uniq so they deliver only once the names of all the users. This 2-Minute Linux Tip video by Network World’s Unix as a Second Language blogger Sandra Henry Stocker shows how to do just that. Click below.

YT embed code:

To read this article in full, please click here


Thanks to Tim Greene (see source)

No comments:

Post a Comment