Can you help in formating the date command in aix to get the following format
Oct 11 21:52
Fri Oct 11 21:52:01 PDT 2013
Required output:
Oct 11 21:52
Fri Oct 11 21:52:01 PDT 2013
Can you help in formating the date command in aix to get the following format
Oct 11 21:52
Fri Oct 11 21:52:01 PDT 2013
Required output:
Oct 11 21:52
Fri Oct 11 21:52:01 PDT 2013
try:
date "+%b %d %H:%M"
The % format strings for time and date are defined here:
pSeries and AIX Information Center