What do the following commands do.

a. cat 1> letter 2> save 0< memo
b. cat 2> save 0< memo 1> letter
c. cat 1> letter 0< memo 2>&1
d. cat 0< memo | sort 1> letter 2> /dev/null
e. cat 2> save 0< memo | sort 1> letter 2> /dev/null


a. The cat command reads the memo file and puts it in a file called letter. If the memo file does not exist, the error message is stored in the save file.
b. Same as for the command in part (a).
c. The cat command reads the memo file and puts it in a file called letter. If the memo file does not exist, the error message is sent to standard error (the display screen).
d. The cat command reads the memo file and sends it to the sort command, who sorts it and puts the sorted version in a file called letter. If the memo file does not exist, the error message is sent to standard error (the display screen). If the sort command fails, the error message goes to /dev/null, never to be seen.
e. The cat command reads the memo file and sends it to the sort command, who sorts it and puts the sorted version in a file called letter. If the memo file does not exist, the error message is stored in the save file. If the sort command fails, the error message goes to /dev/null, never to be seen.

Computer Science & Information Technology

You might also like to view...

Name the JavaScript event where the visitor presses down on a key while in specified element.

a. onfocus b. ondblclick c. onkeypress d. onkeydown e. onmousedown

Computer Science & Information Technology

A _________ is used to fill a shape with color using a Graphics object.

a) painter b) brush c) paint bucket d) marker

Computer Science & Information Technology

For continuous play of the video content by automatically restarting the video each time it ends, use the _____ playback control.

A. cast to device B. toggle repeat C. aspect ratio D. ?full screen

Computer Science & Information Technology

Case-Based Critical Thinking Question Lorienne is building a table for her Web site that shows her babysitting rates depending on the number of hours and number of children watched. To indicate the start and end of a row, Lorienne uses the ____element.

A. B. C. D.

Computer Science & Information Technology