append history to .bash_history at every command

 for all users, add this to the end of /etc/bash.bashrc

PROMPT_COMMAND="history -a; $PROMPT_COMMAND"

Commenti

Post popolari in questo blog

Teams Incoming Webhook deprecated: Use PowerAutomate - Workflow

Mysql operator S3 innodbcluster backup SECRET CONFIG

Fedora - KVM - qemu - Windows 11 guest. error: swtpm at /usr/bin/swtpm does not support TPM 2