Using tee command along with other you can achive this.
Example:
apt-get install php5 |tee output.txt
Example:
apt-get install php5 |tee output.txt
________________________________________________________________________________________
No comments:
Post a Comment