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 Exam 101-500 Topic 4 Question 98 Discussion

Actual exam question for LPI's 101-500 exam
Question #: 98
Topic #: 4
[All 101-500 Questions]

In Bash, inserting 2>&1 after a command redirects:

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

Jeniffer
16 days ago
This is easy, it's clearly D. Redirecting standard error to standard output is a classic Bash trick. *nods confidently*
upvoted 0 times
Tequila
3 days ago
I always get confused with these redirection symbols, but I agree with you, it's D for sure.
upvoted 0 times
...
Walker
7 days ago
I think you're right, it's definitely D. That's a common redirection in Bash scripts.
upvoted 0 times
...
...
Dulce
19 days ago
Haha, I can't believe they're even considering option E. Sending standard output to standard input? That's just nonsense!
upvoted 0 times
...
Sherita
23 days ago
Ah, this is a tricky one! I'm going to go with D. Sending standard error to standard output is the way to go, right? *winks*
upvoted 0 times
...
Eleni
26 days ago
I'm leaning towards C. Sending standard output to standard error seems like it could be useful for debugging purposes.
upvoted 0 times
Rebbecca
4 days ago
I think it's actually D. Redirecting standard error to standard output can be helpful for capturing error messages.
upvoted 0 times
...
...
Matt
1 months ago
Hmm, I'm pretty sure it's option D. Redirecting standard error to standard output is a common technique for capturing error messages.
upvoted 0 times
...
Walker
1 months ago
I'm not sure, but I think it's C) standard output to standard error because it makes sense to redirect output to error.
upvoted 0 times
...
Danica
1 months ago
I disagree, I believe the answer is D) standard error to standard output.
upvoted 0 times
...
Brock
1 months ago
I think the answer is A) standard error to standard input.
upvoted 0 times
...

Save Cancel
a