How can any user find out all information about a specific user like his default shell, real-life name, default directory, when and how long he has been using the system?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Shell Script Interview Questions

What is the difference between scripting and coding?

0 Answers  


Is shell a part of kernel?

0 Answers  


What is the default shell of solaris?

0 Answers  


what is the difference between cmp and diff commands

2 Answers   Amazon, CTS,


How to pass an argument to a script?

0 Answers  






How to get the last line from a file using just the terminal?

0 Answers  


Please anyone suggest atleast 2 good training institutes in Hyderabad, INDIA where i can learn unix shell scripting.

1 Answers  


What are the different types of variables used in shell script?

0 Answers  


Given a file find the count of lines containing the word "abc".

0 Answers  


Dear All, Can anybody tell me how to predefind no. of selected rows from a text file.

1 Answers   MGL,


Create a bash shell script that reads in a number from the user. If the number is 1, print out the date. If the number is 2, list the files in the current directory. If the number is 3, print out who is currently logged onto the system. If the number is anything else, print out an error message and exit. Name this script "various.sh"

4 Answers  


How to include comments in your shell scripts?

3 Answers  


Categories