Adding time to bash history
Alex P

Alex P @devh0us3

About: Secure Development, Certified Cybersecurity Professional

Joined:
Apr 20, 2024

Adding time to bash history

Publish Date: Jan 20
0 0

echo 'export HISTTIMEFORMAT="%F %T "' >> ~/.bashrc

Done! But apply only on new history lines

Good news if you use zsh: just type history -i

Comments 0 total

    Add comment