I need to get the current month -1 in string format, like Feb-2006. I am using k shell.
Any help is appreciated.
I need to get the current month -1 in string format, like Feb-2006. I am using k shell.
Any help is appreciated.
as alsways trying searching FAQs of these forums - this question has been asked and answered many times. Something like this should get you started
Thanks for your responce, I am using this "date +%b_%Y" and I am able to print Mar_2006 , but I want to get something like this Feb_2006.
Any reply is highly appeciated.
Look at vgersh's suggestion again. He points you to the correct place to get the answer.