Which of the following strings should be appended to the command?

To prevent a command run as root from sending both standard out (stdout) and standard error (stderr) to any terminal or other file or device, which of the following strings should be appended to the command?
A. >/dev/null
B. >/dev/null 1>&2
C. >/dev/null 2>&1
D. 1>&2 >/dev/null
E. 2>&1 >/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.