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 |
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
What is the use of "$?" Sign in shell script?
I want to connect to a remote server and execute some commands, how can I achieve this?
How do I run a script on mac?
What is the significance of $#?
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.?
What is an sh file?
What is shell and shell script?
how to get part of string variable with echo command only?
What is wc in shell script?
What are the disadvantages of shell scripting?
How to customise the other shell?