Increase Bash History Size

Increase HISTSIZE – the number of commands to remember in the command history (the default value is 500).

#export HISTSIZE=10000

Increase HISTFILESIZE – the maximum number of lines contained in the history file (the default value is 500).

#export HISTFILESIZE=10000

#source ~/.bashrc

https://www.shellhacks.com/tune-command-line-history-bash/

Komentar

Postingan populer dari blog ini

Cara restart / stop windows service (services.msc) dengan bat / cmd

Learning Haproxy Load Balancer with Podman and Go Backends

How to use jigdo downloader to download Debian Linux installation ISO images (CD, DVD, DLBD)