linux - changing format of date shell -


i want change date format of last reboot time. how can this? idea ? cut other things last reboot command. last seems :

output :  1 nov 2015 

but want :

dd/mm/yyyy : 01/11/2015 

since cut output have convert different format, try below find expected format.

export date="1 nov 2015" date -d"$date" +%d/%m/%y 01/11/2015 

Comments

Popular posts from this blog

javascript - Slick Slider width recalculation -

jsf - PrimeFaces Datatable - What is f:facet actually doing? -

angular2 services - Angular 2 RC 4 Http post not firing -