User Tools

Site Tools


using_tee_to_output_to_file_and_screen

This is an old revision of the document!


Using Tee to Output to File and Screen



this is unfinished…….

when you want to redirect the output of a command to a file you can use the redirector >

/mnt/usbstorage/backups/scripts/pibackup | tee /mnt/usbstorage/backups/logs/$(date '+%Y-%m-%d').log

using_tee_to_output_to_file_and_screen.1470260548.txt.gz · Last modified: 2023/03/09 22:35 (external edit)