Consider the following commands.
i. cat memo letter 2> communication 1>&2
ii. cat memo letter 1>&2 2> communication
Where do the output and error message of the cat command go in each case if
a. both files (memo and letter) exist in the present working directory, and
b. one of the two files does not exist in the present working directory?
a. For the first command, the output goes to the file called communication. For the second command, the output goes to the display screen.
b. For the first command, the output and error message go to the file called communication. For the second command, the output goes to standard output and the error message goes to the communication file.
You might also like to view...
Compressed files usually have a(n) ____ file extension.
A. .exe B. .bmp C. .pdf D. .zip
Each page should have a ____ that states its purpose and has appropriate text and graphic content.
A. footer B. header C. div D. bulleted list
Which of the following protects your computer from brownouts or sags?
A. degaussing B. GPU C. surge protector D. UPS
In the Add Roles and Features Wizard, the Server Roles window lists all the server roles you can currently install.
Answer the following statement true (T) or false (F)