What command used for showing user info like Login Name, Canonical Name, Home Directory,Shell etc in Linux?



What command used for showing user info like Login Name, Canonical Name, Home Directory,Shell etc in..

Answer / Ranjeet Singh Chahar

'id' is the command that displays detailed information about the current user in Linux. Here's an example of its output: id -n * shows login name (UID), real name (GECOS), home directory (HOME) and username from /etc/passwd (LOGIN).

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Linux Commands Interview Questions

tell me command for" to create more than one name to a file".

3 Answers   Google,


How to hide the partition in GRUB booting? (This technique is required when you have more that one Windows system on different partitions of the same disk, let us say the first and second partitions of the first hard drive, to boot from the first partition you must hide the second one)

2 Answers  


What file type is a makefile?

1 Answers  


How often do you use grep command and how in Linux operating system?

1 Answers   Arigo Infotech,


Which command is used to see the online manual?

1 Answers  


Explain difference between swap partition and swap file?

1 Answers  


How to hide the partition in grub booting?

1 Answers  


How do you copy in terminal?

1 Answers  


How will you execute a java program inside a kornshell script?

1 Answers   HP,


What Command used to lock user password?

1 Answers  


when i create SAMBA server it is ok but while i try for access from windows pc he ask me only first time smb password then i close samba login next time he can`t ask for passwd why.?

4 Answers   Wipro,


When and how linux developed?

1 Answers  


Categories