I know if I execute a command like 'ls
' and I want the output in a file, I can type 'ls > filename
'. What do I type if I want both
a saved version and
the output of ls on the screen at the same time. I'm using 'ls
' as an example, really I want to execute 'aptitude
' and at the same time save the output to a file and see the output on the screen. I'm a debian user. Thanks in advance for any help.