how to add linux user to group?

Answer Posted / dk

useradd -g (Groupname-g1) (Username-u1)
Ex:
#useradd -g g1 u1

Is This Answer Correct ?    3 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What signal is ctrl c?

517


What are the 7 types of sentences?

564


You have a tab delimited file called phonenos and want to change each tab to four spaces. What command can you use to accomplish this?

560


What is makefile in unix?

546


What is shell scripting commands?

533






What will happen when a system call is encountered in a user program?

1508


What command do you type to find help about the command who?

544


What is echo command in batch file?

593


What is git command?

526


What is clang linux?

572


How use more command in linux?

547


Which is the required command for checking the file system?

544


Hi everyone i want to learn Devops in Hyderabad can anyone please suggest me best institute.

1151


What is clang space engineers?

551


Is cmake only for c++?

566