This question already has an answer here:
- Get today’s date and use it in filename 5 answers
I found this helpful post on how to export command output to a file, e.g.
command > myfile.txt
But is there a way I can export to
XXX is the day of the week, e.g.
Wed, etc., or even
3, etc., or is there something similar like calendar date of month.