What is the purpose of the tee command? Give an example of the use of this command.
What will be an ideal response?
The tee command allows you to redirect the output of a command to one or more files as well as the standard output of the command (which can be redirected to a file or sent to another command via a pipe). The following command display the terminal information for the user sarwar as well as saves this information in the sarwar.terminal file.
who | grep “sarwar” | tee sarwar.terminal
You might also like to view...
The ____ is where you type an email message.
A. message header B. greeting line C. message area D. subject line
At which of the following states of the CMM scale are there no documented policies and processes?
A) Ad hoc B) Defined process C) Optimized D) Nonexistent
What kind of graph can a BFS not solve?
a. Weighted graph b. Sparse graph c. Dense graph d. Symmetric matrix
You can click the Behaviors command on the ____ menu to open the Behaviors panel.
A. Behaviors B. Panels C. Toolbox D. Insert