I want to show unix date in DD-MMM-YYYY format. Month field should be in three letter capital alphapet and date and year in numerical.
example: 22-OCT-2015
I tried the below shell code but it shows in small letters. Can anyone help me to get this work?
$ date ‘+%d-%h-%Y’
22-oct-2015