A 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?
- grep '(0-9}' /etc/passwd
- grep '[0-9]' /etc/passwd
- grep '_[0-9]' /etc/passwd
- grep '^[0-9]' /etc/passwd
Related exam: DevNet Associate (v1.0) – Module 1 Exam Answers
About The Author
The ITExamAnswers Editorial Team is a dedicated group of certified IT professionals and network engineers. We rigorously review, verify, and update all exam materials to ensure you receive the most accurate and reliable resources for your certification journey.