On Sun, 2024-02-04 at 09:46 +0000, Gareth Evans wrote: > Re the script command, does anyone know of a way to make commands > run during a script session appear in bash history too? Maybe this: https://serverfault.com/questions/16204/how-to-make-bash-scripts-print-out-every-command-before-it-executes It seems awkward to have scripts being put into the history. You could do something like cat script.sh >> ~/.bash_history maybe. How would that be useful?