Halloween Special 2026! Get Up to 25% OFF Practice Questions! Limited Time - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

GAQM LCP-001 Exam - Topic 1 Question 29 Discussion

Posted by Haydee on May 08, 2022 at 11:14 AM

In bash, inserting 2>&1 after a command redirects

Suggested Answer: D

The answer should be ''Match a literal + symbol'' because there is a backslash symbol before the plus, so it should match a literal +.


Get Premium LCP-001 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
36 comments · newest first
JA
Jamika 12 months ago
Nah, I thought it was standard input to error.
LO
Lon 12 months ago
Just learned this recently, it's pretty neat!
DO
Donte 1 year ago
Wait, are you sure about that?
IZ
Izetta 1 year ago
Totally agree, it's D for sure!
BE
Bette 1 year ago
It redirects standard error to standard output.
VE
Vesta 1 year ago
If I recall correctly, 2>&1 means standard error goes to where standard output is, so I believe it's D.
HO
Hoa 1 year ago
I always get confused between standard output and standard error. I might need to double-check this one.
ME
Merlyn 1 year ago
I remember practicing a similar question, and I think the answer is D.
IN
Inocencia 1 year ago
I think 2>&1 redirects standard error to standard output, but I'm not completely sure.
NE
Nenita 1 year ago
Hmm, I'm not too familiar with Tiompenaars and harronden-Turner's framework. I'll have to think this through carefully.
VA
Valentin 1 year ago
Hmm, I'm a bit unsure about this one. The requirements mention approvals, but they don't specifically say anything about preventing the submitter from approving. I'll need to think this through carefully.
VE
Veda 1 year ago
Hmm, I'm a bit unsure about this one. I think I'd want to look at the full test results to see how the new processes and tools are actually performing.
OL
Oliva 1 year ago
Hmm, I'm a bit confused by all the different networking options they're presenting. Need to make sure I understand the differences between Dedicated Interconnect, Direct Peering, and VPN Tunnel.
DO
Dona 1 year ago
Redirecting standard error to standard output? That's like trying to put a square peg in a round hole. Good luck with that!
RO
Rossana 1 year ago
↳ replying to Dona
D) standard error to standard output.
AR
Artie 1 year ago
↳ replying to Dona
C) standard output to standard error.
KR
Krystina 1 year ago
↳ replying to Dona
A) standard error to standard input.
AL
Alline 1 year ago
Ooh, this is a tricky one. I think I learned this in my Linux class, but I can't quite remember. Better double-check the man pages.
NO
Norah 1 year ago
↳ replying to Alline
Yes, it redirects standard error to standard input. Good job!
LO
Louis 1 year ago
↳ replying to Alline
I think it's A too. Let's confirm with the man pages.
AD
Adelle 1 year ago
↳ replying to Alline
A) standard error to standard input.
DE
Deandrea 1 year ago
2>&1? That's like some kind of Unix voodoo magic. I'm just going to guess and hope for the best.
AD
Adell 1 year ago
Wait, isn't standard error supposed to go to the console? I'm going to have to think about this one.
LO
Lou 1 year ago
↳ replying to Adell
D) standard error to standard output.
LE
Lenna 1 year ago
↳ replying to Adell
No, it actually redirects standard error to standard output.
VE
Verlene 1 year ago
↳ replying to Adell
A) standard error to standard input.
HO
Hortencia 1 year ago
I'm pretty sure it redirects standard error to standard output, so I'll go with D.
RU
Ruth 1 year ago
↳ replying to Hortencia
That's correct, option D redirects standard error to standard output.
LY
Lynsey 1 year ago
↳ replying to Hortencia
I agree, I'll go with option D.
KR
Kris 1 year ago
↳ replying to Hortencia
I think it redirects standard error to standard output.
RU
Rueben 1 year ago
↳ replying to Hortencia
That's correct, option D redirects standard error to standard output.
SC
Scot 1 year ago
↳ replying to Hortencia
I agree, I'll go with option D.
ED
Edelmira 1 year ago
↳ replying to Hortencia
I think it redirects standard error to standard output.
VI
Victor 2 years ago
I'm not sure, but I think the answer might be D) standard error to standard output.
MI
Mi 2 years ago
I agree with Alona, because 2>&1 redirects standard error to standard input.
AL
Alona 2 years ago
I think the answer is A) standard error to standard input.
0/2000 characters

Save Cancel