Does anyone know how I will setup my account to put timestamp in my .sh_history? I do not hold the root account. I am using AIX 5 and ksh shell. I tried every solution I can find in the internet but nothing seems to work OR I am just applying those in the wrong way. Anyone knows a "sure" way? I would appreciate your help. Thanks.
AIX supports timestamps in the ksh and ksh93 shell history from AIX 5.3 on. Export EXTENDED_HISTORY=ON from the /etc/profile or your ~/.profile (no need to be root) and check with fc -t.