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 2 Question 106 Discussion

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

Which of the following are valid stream redirection operators within Bash? (Choose two.)

Show Suggested Answer Hide Answer
Suggested Answer: A, E

Contribute your Thoughts:

Geraldine
22 days ago
I'm going with A and E as well. The other options don't look right for stream redirection in Bash.
upvoted 0 times
...
Elli
25 days ago
Haha, Tamala's got a point. I bet someone who's new to Bash would try that and get really confused. 'Why isn't this working?'
upvoted 0 times
Donette
2 days ago
E) 2>&1
upvoted 0 times
...
Tamesha
17 days ago
A) <
upvoted 0 times
...
...
Tamala
28 days ago
D is definitely not a valid option. Who would use triple greater-than signs for redirection? That's just silly.
upvoted 0 times
...
Bobbye
1 months ago
I agree with Gail. The greater-than symbol (>) is used for output redirection, and the 2>&1 syntax redirects stderr to stdout.
upvoted 0 times
Allene
10 days ago
E) 2>&1
upvoted 0 times
...
Lashaunda
13 days ago
A) >
upvoted 0 times
...
...
Tora
1 months ago
I'm not sure about the other options, but D) >>> doesn't seem like a valid stream redirection operator.
upvoted 0 times
...
Mitzie
1 months ago
I agree with Tora, E) 2>&1 is definitely valid.
upvoted 0 times
...
Gail
1 months ago
Hmm, I think A and E are the valid options here. The less-than and greater-than symbols are used for input and output redirection, respectively.
upvoted 0 times
Katy
13 days ago
I agree, A and E are the correct options.
upvoted 0 times
...
...
Tora
1 months ago
I think E) 2>&1 is valid.
upvoted 0 times
...

Save Cancel