Which command is used to save the standard output in a file, as well as display it on the terminal ?
Correct answer: D. tee
- A. more
- B. cat
- C. grep
- D. tee
Explanation
`tee` copies standard input to a file while also sending the same data to standard output, so it remains visible on the terminal. Commands such as `cat` display or concatenate data but do not provide this simultaneous file-saving function.
Report an error
The more specific you are, the faster it gets fixed. A source beats an opinion.
Prefer email? [email protected]
Practise Software Development Lifecycle
423 free Software Development Lifecycle MCQs from Software Engineering, each with the correct answer and an explanation. Unlimited attempts, no account needed.
Discussion
Stuck on an option, or know a faster way to get there? Ask or explain it here.
No comments yet. Be the first to explain this one.
Exams that ask Software Engineering questions like this
Software Engineering is on this paper prepared for on TestUstad, and all of them draw the same bank, so this question is worth knowing for it.
More Software Development Lifecycle questions
Which of the following commands is not the vi Input mode command ?
Which of the following signs is used to back up over typing errors in vi ?
Which of the following command is used to create a Linux installation boot floppy ?
Which of the following commands can be used to get information about yourself ?
If a file has read and write permissions for the owner, then the octal representation of the permissions will be_________________?
The command chmod 761 note is equivalent to_________________?