Which command would give you the output shown in the Exhibit?
A.
grep root /etc/passwd
B.
grep -ni root /etc/passwd
C.
awk ‘/bash$/’ /etc/passwd | grep root
D.
awk -F: ‘/bash$/ {print $0}’ /etc/passwd | grep root
Explanation:
Which command would give you the output shown in the Exhibit?
A.
grep root /etc/passwd
B.
grep -ni root /etc/passwd
C.
awk ‘/bash$/’ /etc/passwd | grep root
D.
awk -F: ‘/bash$/ {print $0}’ /etc/passwd | grep root
Explanation: