Recent content by Nitiphone

  1. N

    run script to collect information every day but different directory

    >awk -F',' '{if((substr($3,1,1)==1)&&($26~/Gateway_G/)&&($27~/SAP365/)) {print $2"|"$3"|"$23}}' /home/mone/billproxy/billdata/bpsbill/12/backup/\*$(date +%Y%m%d [email protected]$(($(date +%s)-86400*1)))\* | wc -l Illegal variable name. I tried but still got this error
  2. N

    run script to collect information every day but different directory

    Hi,How about I need to use * on the same place with date Like this *20190818* I would like to run this command below include star character(*) awk -F',' '{if((substr($3,1,1)==1)&&($26~/Gateway_G/)&&($27~/SAP365/)) {print $2"|"$3"|"$23}}' /home/mone/billproxy/billdata/bpsbill/12/backup/*$(date...
  3. N

    run script to collect information every day but different directory

    Thank you very much, It's beautiful work. now I just add the script on the crontab
  4. N

    run script to collect information every day but different directory

    Dear Any One, Please kindly help me to find out some way to collect information as below? zgrep "MCPKG" /centralizedlog/dsd0110{1,4}/afcdr/20190527/*.gz |grep success > save20190527.txt I would like to run this command to collect information and put it to output file as this example I can use...
Top