• Post author:
  • Post category:Blog
  • Reading time:1 mins read
  • Post last modified:June 12, 2024

A Linux system administrator is searching the passwd file for any username that starts with a digit. Which grep command should the administrator use?

  • grep ‘_[0-9]’ /etc/passwd
  • grep ‘[0-9]’ /etc/passwd
  • grep ‘^[0-9]’ /etc/passwd
  • grep ‘{0-9}’ /etc/passwd
Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments