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

LPI 101-500 Exam - Topic 6 Question 34 Discussion

Posted by Golda on May 08, 2022 at 01:45 PM

Which of the following commands redirects the output of ls to standard error?

Suggested Answer: C

Get Premium 101-500 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
11 comments · newest first
JA
Jarvis 11 months ago
No way, E is a valid command too!
JO
Joaquin 12 months ago
I thought it was A for a second, but C makes sense.
OM
Omega 12 months ago
Wait, is it really that simple?
RU
Rupert 12 months ago
Agreed, C is the correct answer!
NO
Noah 1 year ago
It's definitely C, that's how you redirect to stderr.
JU
Justine 1 year ago
I’m pretty sure `ls >&2` is the correct syntax, but I’m confused about the options here. Is it C?
HY
Hyun 1 year ago
I feel like `ls >-1` is definitely not it, but I can't recall what `ls >>2` does.
BE
Bette 1 year ago
I remember practicing a similar question, and I think `ls >&2` was the right way to do it. Is that option C?
JA
Jaclyn 1 year ago
I think the command to redirect output to standard error is something with `&`, but I'm not sure if it's `>&2` or something else.
LE
Leah 1 year ago
Okay, this seems straightforward. I just need to log in as a system admin and use the globally scoped baseline SLA Modules, right? That's option B, I think.
SH
Shakira 1 year ago
I feel pretty confident about this one. The prerequisites seem straightforward if you understand the live migration process.
0/2000 characters

Save Cancel