grep

print lines matching a pattern

look for the root user in /etc/passwd
copy
8
0
cat /etc/passwd | grep rootlook for the root user in /etc/passwd

8 years, 7 months ago john 0 | details |

Result:

root:*:0:0:System Administrator:/var/root:/bin/sh