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

GAQM Exam LCP-001 Topic 1 Question 29 Discussion

Actual exam question for GAQM's LCP-001 exam
Question #: 29
Topic #: 1
[All LCP-001 Questions]

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

Show Suggested Answer Hide Answer
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 +.


Contribute your Thoughts:

Dona
1 months ago
Redirecting standard error to standard output? That's like trying to put a square peg in a round hole. Good luck with that!
upvoted 0 times
Krystina
6 days ago
A) standard error to standard input.
upvoted 0 times
...
...
Alline
1 months 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.
upvoted 0 times
Norah
14 days ago
Yes, it redirects standard error to standard input. Good job!
upvoted 0 times
...
Louis
15 days ago
I think it's A too. Let's confirm with the man pages.
upvoted 0 times
...
Adelle
20 days ago
A) standard error to standard input.
upvoted 0 times
...
...
Deandrea
1 months ago
2>&1? That's like some kind of Unix voodoo magic. I'm just going to guess and hope for the best.
upvoted 0 times
...
Adell
2 months ago
Wait, isn't standard error supposed to go to the console? I'm going to have to think about this one.
upvoted 0 times
Lou
6 days ago
D) standard error to standard output.
upvoted 0 times
...
Lenna
10 days ago
No, it actually redirects standard error to standard output.
upvoted 0 times
...
Verlene
20 days ago
A) standard error to standard input.
upvoted 0 times
...
...
Hortencia
2 months ago
I'm pretty sure it redirects standard error to standard output, so I'll go with D.
upvoted 0 times
Ruth
4 days ago
That's correct, option D redirects standard error to standard output.
upvoted 0 times
...
Lynsey
9 days ago
I agree, I'll go with option D.
upvoted 0 times
...
Kris
12 days ago
I think it redirects standard error to standard output.
upvoted 0 times
...
Rueben
15 days ago
That's correct, option D redirects standard error to standard output.
upvoted 0 times
...
Scot
27 days ago
I agree, I'll go with option D.
upvoted 0 times
...
Edelmira
1 months ago
I think it redirects standard error to standard output.
upvoted 0 times
...
...
Victor
2 months ago
I'm not sure, but I think the answer might be D) standard error to standard output.
upvoted 0 times
...
Mi
2 months ago
I agree with Alona, because 2>&1 redirects standard error to standard input.
upvoted 0 times
...
Alona
2 months ago
I think the answer is A) standard error to standard input.
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77