有没有办法在执行任何终端命令之前运行一个命令?
例如:
> ls -ltr > "Hello you ran ls -ltr" //this is what I would like to achieve > ..output of ls -ltr will be here
是否可以在执行任何命令之前运行以确保 echo 运行?
谢谢
bash
bash ×1