I am using:
user@unknown:~$ sudo command -option > log
to save the results of "command" to the file "log", but I'd like to also get the result on the terminal, is this possible?
I am using ubuntu 10.04 lts.
The command you're looking for is 'tee' which makes a data connection similar to a pipe-tee. it sends data two ways. So
would tee the command output to both the file 'log' and to stdout, in this case, your terminal.
You can also use