adspace
What is the command to find out users on the system?
Answer Posted / 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 View All Answers
Hello all, This is my assignment on shell scripting, can anyone help me regarding this ? Create a shell script which connects to the database In second shell script include the first script for the DB connection Create a table (PRADEEP_DATA) with 2 columns (name, value) In Third shell script include the first script for the DB connection And insert/delete the values from the Table, by accepting input from the user This functionality should be a menu driven Program: 1) Insert to the database a. Name b. value 2)Delete from the database a.Name b.value Exception handling needs to be taken care.