The tee command replicates the standard output to both your terminal and an output file (here output.txt) :
[pene@donunix] ps -u pene | tee output.txt
[pene@donunix] ps -u pene | tee output.txt
Welcome to Don Unix
The main purpose of this blog is to show you some interesting Unix and Linux Tips'n Tricks.
I hope you'll enjoy it
No comments:
Post a Comment