You can use the following 'command' to get the desired result:
for i in {1..7}; do mkdir /tmp/$(date +"%A" --date "$i days ago"); done
You can use the following 'command' to get the desired result:
for i in {1..7}; do mkdir /tmp/$(date +"%A" --date "$i days ago"); done