Automatically append another piped command to issued command in bash
Asslam-u-Alikum,
Hi, I am stucked at the point, I want to append | tee -a file.txt for every command that is issued from bash, How to acomplish it ? do any body knows, ? e.g if ls command is issued by the user the bash should append | tee -a file.txt to that command issued it then completes as ls | tee -a file.txt Thank You. |
Hi,
Maybe you should take a look at script, which will, and I quote from the manpage: Quote:
Hope this helps. |
All times are GMT -5. The time now is 02:23 AM. |