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 /etc/group rick > RickGroup.txt
B.
grep /etc/group rick > RickGroup.txt
C.
ls rick /etc/group > RickGroup.txt
D.
grep rick /etc/group > RickGroup.txt