What is the command used for printing any text in Unix?
Answer
You can use
the tee command
to output text from a command both to the screen and to a file. The tee command takes data from standard input and writes it to standard output as well as to a file.