How can i format the date "01-SEP-2011" on "2011-09-01" format in shell script?
Try this:
$ date --date='01-SEP-2011' +%Y-%m-%d
2.1m questions
2.1m answers
60 comments
57.0k users