mercredi 7 janvier 2015

Output Redirection


I am using tee command to output the compilation errors of a program into a file along with the terminal.


gcc hello.c | tee file.txt


This is the command I have used. The compilation errors are displayed on the terminal but they are not outputted in the file.



Aucun commentaire:

Enregistrer un commentaire