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
What is the purpose output of cd command?
What is difference between sh and bash?
What the command used for list the contents of your home directory, current directory and all subdirectories?
What is mkdir m in linux?
What are the basic command in linux?
How do you do nslookup?
What does && mean in bash?
Write a command that will display all .txt files, including its individual permission.
How do I run a script in linux?
What is sudo bash command?
What does cd do in linux?
How do I set permission to run in linux?
How do you grep?
What is cmake in linux?
What is FC command?