What is the command to find out users on the system?



What is the command to find out users on the system?..

Answer / Madhu Mayur

The command 'cat /etc/passwd' will display a list of all users on a Linux system. Each line represents an individual user account, with fields such as username, user ID (UID), home directory, and login shell.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Shell Script Interview Questions

The information of the two files should be redirect to Third file in such a way that, the third file contain the information like this. 1st line in third file should be from 1st file 2nd line in Third file should be from 2nd file 3rd line in Third file should be from 1st file 4th line in Third file should be from 2nd file - - so on

2 Answers   Caritor,


What is the use of "$?" Sign in shell script?

1 Answers  


I want to connect to a remote server and execute some commands, how can I achieve this?

1 Answers  


How do I run a script on mac?

1 Answers  


What is the significance of $#?

1 Answers  


How do you print the output the same string which is typed in command line. how do you write the shell script or command for this. if i entered "Hello" in command line, it should print 'Hello', if i say "Hello Welcome", i should get the "Hello Welcome" as output.?

3 Answers   IBM, Symphony,


What is an sh file?

1 Answers  


What is shell and shell script?

1 Answers  


how to get part of string variable with echo command only?

1 Answers  


What is wc in shell script?

1 Answers  


What are the disadvantages of shell scripting?

1 Answers  


How to customise the other shell?

2 Answers   Quest,


Categories