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

IT Questions BankCategory: DevNetA Linux system administrator is searching the passwd file for any username that starts with a digit. Which grep command should the administrator use?
A Linux system administrator is searching the passwd file for any username that starts with a digit. Which grep command should the administrator use? 1ITExamAnswers Staff asked 9 months ago

Question:
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

More Questions: DevNet Associate (v1.0) – Module 1 Exam Answers


Related Articles

guest
0 Comments
Inline Feedbacks
View all comments