Which option for the usermod command can be used to specify a user's group ID (either primary or secondary)? (choose two)
Understand the Problem
The question is asking which options for the 'usermod' command in a Linux-like environment can be used to specify a user's group ID. The user needs to choose two correct options.
Answer
-g and -G
The final answer is -g and -G
Answer for screen readers
The final answer is -g and -G
More Information
The -g option is used for setting a user's primary group ID, while the -G option sets additional, secondary group IDs for the user.
Tips
Ensure not to confuse -g (primary) with -G (secondary), as case sensitivity is important in Unix/Linux environments.
Sources
- Brainly Answer - brainly.com
- Chegg - Linux usermod command options - chegg.com
AI-generated content may contain errors. Please verify critical information