New Year Sale 2026! 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

Actual exam question for RedHat's EX200 exam
Question #: 43
Topic #: 3
[All EX200 Questions]

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

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

0/2000 characters
Candra
4 months ago
Is it really safe to mess with /etc/passwd?
upvoted 0 times
...
Nikita
4 months ago
Nice, I didn't know nologin was listed like that!
upvoted 0 times
...
Destiny
4 months ago
Wait, why are we saving it in /root? Seems risky.
upvoted 0 times
...
Lashawnda
4 months ago
Totally agree, easy peasy!
upvoted 0 times
...
Jamal
4 months ago
Just a simple grep command!
upvoted 0 times
...
Melodie
5 months 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.
upvoted 0 times
...
Ryan
5 months ago
I’m a bit confused about the output redirection part. Is it just the '>' symbol that we use to save the output?
upvoted 0 times
...
Tamesha
5 months ago
This seems similar to a practice question we did on searching user accounts. I feel confident about using cat and grep together.
upvoted 0 times
...
Armanda
5 months ago
I think I remember using grep to search through files, but I'm not entirely sure about the syntax for redirecting the output.
upvoted 0 times
...
Sherill
5 months 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.
upvoted 0 times
...
Winfred
5 months 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.
upvoted 0 times
...

Save Cancel