At the moment I call date this way:
date
date '+%Y %m %d' # ==> 2017 12 01
How should I adjust it so that it return a month in the 3-char format? Like this:
date '+%Y %m %d' # ==> 2017 dec 01
Try: date '+%Y %b %d' | tr A-Z a-z
date '+%Y %b %d' | tr A-Z a-z