answersLogoWhite

0


Best Answer

The 'uptime' command will tell you exactly how many users are on the system. There are other variations of this, including counting the number of words from the 'users' command, etc., but this is the easiest.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

14y ago

who | wc -l

You could also use the sequence:

users | wc -l

The easiest way is to run the 'uptime' command, which will give you that information on the first line.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Unix command to count how many users have logged on to the unix system?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is a UNIX command that will count how many users have logged on and also the users list in the UNIX system?

There are many ways to do this, but the fastest and easiest is to use the 'uptime' command, which will tell you in a summary line how many users are logged in.


Which command displays the users who are currently logged into the Linux system?

There are a series of commands, depending on what and how much information you want on logged in users. The commands are: who w users finger (if installed)


Shell program to show the user name of the user who has logged-into the system?

Use the 'who', 'w', or 'users' command to find out who is logged in.


What is the command of list of user names who have currently logged in?

who command gives the list of users who have currently logged in......


When one enters the who command in Linux what information does one see?

The basic 'who' command lets you see the time of last system boot; list of users logged-in; the current run level, etc.


How would you notify users that you're going to reboot in ten minutes?

This has traditionally been a feature of multiuser operating system that the command the system operator uses to command a reboot or shutdown allows the system operator to specify this time interval, then automatically notifies all logged in users to complete what they are doing and log off before that time runs out. Any users failing to log out before the time specified by the system operator expires will be automatically logged out and their tasks killed at the last moment before the system automatically reboots.


The tab in Task Manager shows all users currently logged on the system?

users


How do I find out how many different login shells are used in my Linux?

The command "finger" can tell you how many active shells are used, the users logged in, and where they logged in.


What is the unix command to send message to all the users who are logged in?

The command is 'wall' (write all). In some systems it can only be executed by the administrator.


Which commands con you use to determine who is logged on?

There are several commands depending on how much detail you want, and whether or not a certain package is installed on the system. The command 'who', 'w', 'users' will give varying degrees of information on who is logged in. The 'finger' command will also give some information but only if the finger software is installed.


How do you switch users in Unix?

A user may switch their identities when logged in using the 'su' command. On some systems the 'su' command may be restricted.


What is wall in Linux?

Wall is a utility that broadcasts a message to all virtual terminals on the system. It can be a way to send a message to all users logged onto a command line and (in the case of KDE 4) on the desktop.