I will set one date variable(Say \'08-JUN-2011\') and I want to do some calculations based on that date namely, 1. Have to get the first day of the given day\'s month.
$ date +%m/01/%Y
I came here looking for a way to get the first day of the current month.