Date/Time in history command

Hi,

Can we display the Date/time stamp in history command
Ex:
$history

output
-----------
vi pr.sh
ksh -x pr.sh
ksh -n pr.sh
nhoup ksh pr.sh &
nohup ksh pr.sh &

i want the output like this

Tue Mar 14 17:18:57 GMT 2006 vi pr.sh HOSTNAME

is it possible sir ????

I post this question with the new thread ...pls consider :wink:

Thanks in advance
-----------
VASTARE

Create a function to do it.
printmsg "test"

Thanks alot,

But i really dont know how to perform that, can u help in this?

In which file can we find "HISTFILE " "HISTSIZE" these 2 variable ???

i want to know ...How the history command is working ?????

Thanks in advance

Well if we type history command in UNIX prompt, it will display the command executed by user :cool:

I want to know that which script is executing.... when we execute history command???? :mad:

How the UNIX is managing the history command????

Please i want know the in/out details of history command......

And I want to write my own history script ......give me a hint to do this???? :confused:

Help me out from this confusion :smiley: