-->

DEVOPSZONES

  • Recent blogs

    How to Send SCP Logs to the Log File in a bash script

    How to Send SCP Logs to the Log File in a bash script


    1. Use Following Command to do the Job.

    scp -vpr SourceFile DestFile |& grep -e StringtoSearch >> /tmp/scp_log.txt 2>&1 

    No comments