adspace


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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

can any one send me one project on linux ...?

2862