simple (?) pipes questions
Hi. Question #1 is the following considered a single pipe:
(date; ls -la /homedir) | tee homelist | less
Question #2: if this is not considered a single pipe, what commands could I use in place of the | tee homelist | less, so that the output would go both to homelist & to screen? I tried
(date; ls -la > homelist) | less and this didn't work. Thanks.