On Solaris 8 and 10 is there a way history command can show what time a particular command was executed.
Pls reply.
Thanks
On Solaris 8 and 10 is there a way history command can show what time a particular command was executed.
Pls reply.
Thanks
You can append a time stamp to each user's shell history file. That would at least give you an idea in what time frame a command executed. This would be a cron job set to run ever half hour of so.
You can use something like that (ksh):
PS1='$(print -s "# $(date +%Y%m%dT%H%M%S)") $ '
That would pollute the history file though ...