$ ls -al | tee output.txt