Artificial intelligent assistant

How to get particular date There is a need to get first Saturday date of current month in my script. I am able to get last Saturday date from below command date -d 'last Saturday' +%y%m%d But unable to get First Saturday date. Even tried `date -d 'First Saturday' +%y%m%d` but not getting expected result. My requirement is for example - in current month (July) - First Saturday date (200704) Can anyone help me in getting first Saturday date of current month

With `ksh93`:


$ ksh93 -c 'printf "%(%y%m%d)T\
" "first saturday"'
200704

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy 06b5e5cc4d04bd362f2d0e113b388fb4