On 08/08/2016 04:33 PM, David Dahlberg wrote: > Am Montag, den 08.08.2016, 14:39 +0800 schrieb johnw: >> Hi, I use /bin/ksh as a console/terminal shell program, I want to >> log/backup all command, run on console/terminal/ksh, >> >> Any idea how to do this? > man 1 ksh, search for HISTFILE. > > Cheers > David
Yes, I already set HISTFILE and HISTSIZE, but when I open two terminal at the same time, some command is not logged, and I also log-rotate. I want log all the command (but not the command stdout|stderr output), even I open two ksh terminal at the same time. Thank you -- Key ID: 0xCF2C80AC Key fingerprint: CDB3 6C62 254B C088 1E5D DD32 182C 97DB CF2C 80AC
signature.asc
Description: OpenPGP digital signature

