RedHat Red Hat Linux Essentials RH033 Question # 10 Topic 2 Discussion

RedHat Red Hat Linux Essentials RH033 Question # 10 Topic 2 Discussion

RH033 Exam Topic 2 Question 10 Discussion:
Question #: 10
Topic #: 2

You work as a Network Administrator for Perfect Solutions Inc. The company has a Linux-based network. Rick, a Sales Manager, has a permission issue on a file. You want to know the names of groups of which Rick is a member. You want to store the information in a text file named

RickGroup.txt. Which of the following commands will you use to accomplish the task?


A.

ls rick /etc/group > RickGroup.txt


B.

ls /etc/group rick > RickGroup.txt


C.

grep /etc/group rick > RickGroup.txt


D.

grep rick /etc/group > RickGroup.txt


Get Premium RH033 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.