id command

How do I add a user to group under Ubuntu Linux operating system using command line options?

{ 4 comments }

I am working on a shell script. I need to find out the current user name. How do I find out the current user name under Bash or Ksh shell running on Linux or Unix like operating systems?

{ 0 comments }

How do I find out the group name under Linux operating systems using bash shell prompt? How do I display group information for the specified USERNAME under Linux?

{ 1 comment }

How do I check the existing Linux / UNIX users and groups under Linux / UNIX operating system?

{ 15 comments }

Q. User tom is a member of a group called sales and printer. I’d like to remove tom from a group called printer without editing any user configuration text files stored at /etc/ directory?

{ 18 comments }