Answer Posted / anoop
useradd -g group_name user_name (for primary group)
useradd -G group_name user_name (For secondard group)
| Is This Answer Correct ? | 22 Yes | 4 No |
Post New Answer View All Answers
What does && mean in bash?
What is the difference between command ‘ping’ and ‘ping6’?
What is the difference between diff and cmp command in unix?
What is $@ in shell?
How do I find the console in linux?
What are commands in grammar?
What is the role of case sensitivity in affecting the way commands are used?
Which command would you use if you want to remove the password assigned to a group?
What is du -s * | sort -k1,1rn | head command used for?
What is netstat command in linux?
What does mkdir do in linux?
What is the command can be run to remove all the rules in an iptable table?
Explain the ‘ls’ command in linux
Which command is used to delete a group?
What are whois tools?