Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

RedHat EX200 Exam - Topic 3 Question 43 Discussion

Posted by Donette on May 05, 2022 at 12:24 PM

Part 1 (on Node1 Server)

Task 9 [Managing Files from the Command Line]

Search the string nologin in the /etc/passwd file and save the output in /root/strings

Suggested Answer: A

Get Premium EX200 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
11 comments · newest first
CA
Candra 1 year ago
Is it really safe to mess with /etc/passwd?
NI
Nikita 1 year ago
Nice, I didn't know nologin was listed like that!
DE
Destiny 1 year ago
Wait, why are we saving it in /root? Seems risky.
LA
Lashawnda 1 year ago
Totally agree, easy peasy!
JA
Jamal 1 year ago
Just a simple grep command!
ME
Melodie 1 year ago
I recall we practiced something like this, but I can't remember if we needed to check permissions for the /root directory before writing the output.
RY
Ryan 1 year ago
I’m a bit confused about the output redirection part. Is it just the '>' symbol that we use to save the output?
TA
Tamesha 1 year ago
This seems similar to a practice question we did on searching user accounts. I feel confident about using cat and grep together.
AR
Armanda 1 year ago
I think I remember using grep to search through files, but I'm not entirely sure about the syntax for redirecting the output.
SH
Sherill 1 year ago
Whoa, this is a lot of steps! I'm feeling a bit overwhelmed trying to remember all the different commands. Maybe I should jot down some notes to refer to during the exam.
WI
Winfred 1 year ago
Hmm, I'm a bit unsure about this one. I'll need to closely examine the code in each option to determine which one will display the correct message.
0/2000 characters

Save Cancel