Log File in unix gets over written

前端 未结 0 1959
夕颜
夕颜 2021-01-17 08:52

I am using the below code to run some commands and also log the output for a script.

#!/bin/bash
exec 3>&1 4>&2
trap \'exec 2>&4 1>&am         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题