Thursday, January 27, 2011

Write console output in to file as well

        Using tee command along with other you can achive this.
      
    Example:
  
        apt-get install php5 |tee output.txt

No comments:

Post a Comment