Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

Exam 101-500 topic 1 question 37 discussion

Actual exam question from LPI's 101-500
Question #: 37
Topic #: 1
[All 101-500 Questions]

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

  • A. <
  • B. #>
  • C. %>
  • D. >>>
  • E. 2>&1
Show Suggested Answer Hide Answer
Suggested Answer: AE 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
aMiPL
Highly Voted 3 years ago
The answer is correct: https://tldp.org/LDP/abs/html/io-redirection.html
upvoted 8 times
...
stefano1856
Highly Voted 2 years, 6 months ago
2>&1 is used to redirect standard error output (2) to standard output (1), for example: find / -name *.log > result.txt 2>&1: register errors in results.txt and don't display nothing find / -name *.log > result.txt: display errors
upvoted 6 times
...
Ninymo
Most Recent 1 month ago
Answer: AE
upvoted 1 times
...
JilN
2 years, 11 months ago
Is it supposed to be < or > Am used to redirecting my output via >. I have not encountered < before. Someone please educate me.
upvoted 3 times
CuriousLinuxCat
2 years, 9 months ago
You use < when you want to input some information to a command. Basically, it's the other way around of >.
upvoted 3 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...