#! /bin/shyesterday=$(date --date "1 day ago" +%Y%m%d)echo $yesterdaytoday=$(date +%Y%m%d)echo $today
#! /bin/sh
ReplyDeleteyesterday=$(date --date "1 day ago" +%Y%m%d)
echo $yesterday
today=$(date +%Y%m%d)
echo $today