Outputting to console and file
On Wed, Mar 2, 2011 at 5:46 AM, Oliver Marshall
> We have a script that archives specified SVN repos, rars them up, uploads
> them to an FTP site, then removes the original. Currently all the output
> goes to the console as it runs but as the output can get large Iâ€™m keen to
> log the output to a file AND the console at once.
> I can pipe the script to a file but then I get no console output.
> Within the file is there a way to send the output of each line to both the
> console and a file ?
ubuntu-users mailing list
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users