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.
|