vendredi 5 septembre 2014

duplicate standard output

To duplicate std output of a program (here my_prog) in bash

./my_prog | tee logfile.txt

Aucun commentaire:

Enregistrer un commentaire