Here's a breakdown of what each part of the command does:
>filename redirects the standard output (file descriptor 1) to the file filename. Any output that would normally be displayed in the terminal will be written to the file instead.
2>&1 redirects the standard error output (file descriptor 2) to the same place as the standard output (file descriptor 1). This means that any error messages or other output that would normally go to the terminal will also be written to the file filename.
So, the overall effect of the command is to write both standard output and standard error output to the file filename.
upvoted 1 times
...
This section is not available anymore. Please use the main Exam Page.LX0-103 Exam Questions
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.
linux_admin
2 years, 2 months ago