The correct statement regarding the command `foo 1> bar` is:
B. The stdout from the command foo overwrites the file bar.
In this command, `1>` is used to redirect the standard output (stdout) of the command `foo` to the file `bar`. If the file `bar` already exists, its previous content is overwritten with the stdout of the `foo` command.
upvoted 1 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.
DuboisNicolasDuclair
1 year, 4 months ago