NEW INTERVIEW QUESTIONS.COM
OPERATING SYSTEMS INTERVIEW QUESTIONS
LINUX INTERVIEW QUESTIONS DETAILS
NewInterviewQuestions.com - Home for World's Largest Interview Questions Website.
A D V E R T I S E M E N T
Question |
You need to create a new group called sales with Bob, Mary and Joe as members. Which of the following would accomplish this? Choose one:
a. Add the following line to the /etc/group file: sales:44:bob,mary,joe b. Issue the command groupadd sales. c. Issue the command groupadd -a sales bob,mary,joe d. Add the following line to the /etc/group file: sales::44:bob,mary,joe |
Answer
|
Answer: d
One of the quickest ways to create a new group is to edit the /etc/group file adding the groupname, password, GID, and members.
© NewInterviewQuestions.com
|
If you have the better answer, than send it to us. We will display your answer after the approval.
Rate the above answer. Help us to know about the answer.
Please Note: We keep on updating better answers to this site. Subscribe to our newsletter to get notified when better answer is posted.
|