Francois Pussault <fpussa...@contactoffice.fr> wrote: >> On 2016-08-08 Mon 14:39 PM |, johnw wrote: >>> 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? >>> >> >> See HISTFILE and HISTSIZE in ksh(1). > > Using Ksh options is a good idea but that logs only the current user.
You may set HISTFILE and HISTSIZE in doas.conf(5).