How can the normal output of a command be written to a file while discarding the error output?

How can the normal output of a command be written to a file while discarding the error output?
A. command >2>file 1&>/dev/null
B. command < output > /dev/null
C. command > discard-error > file
D. command > /dev/null 2&>1 output
E. command >file 2>/dev/null

Download Printable PDF. VALID exam to help you PASS.

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.