On Tue, Jul 8, 2014 at 4:11 PM, Raja Mahalingam <raja82itmk at gmail.com> wrote:
Hi ,
I am working on script creation for user audit report and last command
doesn't o/p the year.
I need to find year of the given date of month and day on linux box.
Need to check only for past 10 years.
example :
input = Thu Apr 15
Required o/p 20140415
Any unix/linux commands or perl function would be good.