0

With the solution in [1] it is possible to write the command to bash_history, after the command has finished, with multiple terminals.

That means, if the command is issued and if something happens during the time the command runs, it is not appended to history.

Is it possible to append a command to bash_history immediately after hitting enter before the command finishes?

[1] Bash history handling with multiple terminals

kelmat
  • 293

0 Answers0