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
You use < when you want to input some information to a command.
Basically, it's the other way around of >.
upvoted 3 times
...
...
Log in to ExamTopics
Sign in:
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.
aMiPL
Highly Voted 3 years, 3 months agostefano1856
Highly Voted 2 years, 8 months agoNinymo
Most Recent 3 months, 3 weeks agoJilN
3 years, 1 month agoCuriousLinuxCat
2 years, 11 months ago