YYYY-MM-DD format date in shell script by IT Nursery I tried using $(date) in my bash shell script, however, I want the date in YYYY-MM-DD format. How do I get this? 1 15