Independence Day Deal! Unlock 25% OFF Today – Limited-Time Offer
- Ends In
00:00:00
Coupon code:
SAVE25
X
Welcome to Pass4Success
Login
|
Sign up
-
Free
Preparation Discussions
Mail Us
support@pass4success.com
Location
PL
MENU
Home
Popular vendors
Salesforce
Microsoft
Nutanix
Cisco
Amazon
Google
CompTIA
SAP
VMware
Oracle
Fortinet
PeopleCert
Eccouncil
HP
Palo Alto Networks
Adobe
ISC2
ServiceNow
Dell EMC
CheckPoint
Discount Deals
New
About
Contact
Login
Sign up
Home
Discussions
LPI Discussions
Exam 101-500 Topic 4 Question 98 Discussion
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:
A
standard error to standard input.
B
standard input to standard error.
C
standard output to standard error.
D
standard error to standard output.
E
standard outputto standard input.
Show Suggested Answer
Hide Answer
Suggested Answer:
A
by
Antione
at
Sep 13, 2024, 05:57 AM
Limited Time Offer
25%
Off
Get Premium 101-500 Questions as Interactive Web-Based Practice Test or PDF
Contribute your Thoughts:
Submit
Cancel
Jeniffer
2 months ago
This is easy, it's clearly D. Redirecting standard error to standard output is a classic Bash trick. *nods confidently*
upvoted
0
times
Theron
17 days ago
Thanks for clarifying, I'll remember that trick for redirecting standard error to standard output.
upvoted
0
times
...
Tequila
1 months ago
I always get confused with these redirection symbols, but I agree with you, it's D for sure.
upvoted
0
times
...
Walker
1 months ago
I think you're right, it's definitely D. That's a common redirection in Bash scripts.
upvoted
0
times
...
...
Dulce
2 months 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
Caitlin
4 hours ago
Oretha: Exactly, option D is the correct one.
upvoted
0
times
...
Josephine
3 days ago
User 3: So the correct answer is D, standard error to standard output.
upvoted
0
times
...
Oretha
13 days ago
User 2: Definitely not, it's standard error that gets redirected to standard output.
upvoted
0
times
...
Novella
24 days ago
User 1: I know right, option E doesn't make any sense.
upvoted
0
times
...
...
Sherita
2 months 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
2 months ago
I'm leaning towards C. Sending standard output to standard error seems like it could be useful for debugging purposes.
upvoted
0
times
Felicidad
1 months ago
I agree with you, D is the correct answer. It can definitely be useful for troubleshooting.
upvoted
0
times
...
Rebbecca
1 months ago
I think it's actually D. Redirecting standard error to standard output can be helpful for capturing error messages.
upvoted
0
times
...
...
Matt
2 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
2 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
2 months ago
I disagree, I believe the answer is D) standard error to standard output.
upvoted
0
times
...
Brock
3 months ago
I think the answer is A) standard error to standard input.
upvoted
0
times
...
Log in to Pass4Success
×
Sign in:
Forgot my password
Log in
Report Comment
×
Is the comment made by
USERNAME
spam or abusive?
Commenting
×
In order to participate in the comments you need to be logged-in.
You can
sign-up
or
login
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
Jeniffer
2 months agoTheron
17 days agoTequila
1 months agoWalker
1 months agoDulce
2 months agoCaitlin
4 hours agoJosephine
3 days agoOretha
13 days agoNovella
24 days agoSherita
2 months agoEleni
2 months agoFelicidad
1 months agoRebbecca
1 months agoMatt
2 months agoWalker
2 months agoDanica
2 months agoBrock
3 months ago