Possible Duplicate:
How to pipe stdout while keeping it on screen ? (and not to a output file)
For example I want to run the command:
ls -l
Then I have the output to stdout:
drwxr-xr-x 2 user user 4096 Apr 12 12:34 Desktop
-rw-rw-r-- 1 user user 1234 Apr 12 00:00 file
And I want to redirect this output to another command for some further processing (like redirecting to 'head -1' to extract first line). Can I do it in just one line?