R. L. Dane :debian: :openbsd:🧉 on Nostr: Need some help with bash. No matter what I do with $HISTSIZE and the like, my ...
Need some help with bash.
No matter what I do with $HISTSIZE and the like, my .bash_history file always ends up getting capped at around 1000 lines
~ $ grep HIST /etc/profile .bash* .profile
.bashrc:HISTCONTROL=ignoreboth
.bashrc2:HISTTIMEFORMAT="%F %T "
.bashrc2:HISTFILESIZE=-1
.bashrc2:HISTSIZE=10000
~ $ wc -l .bash_history
933 .bash_history
~ $ history |head -1
1 2024-03-23 14:51:39 ls
~ $ stat /
File: /
...
Birth: 2023-11-09 18:33:14.000000000 -0600
Published at
2024-03-23 23:02:55Event JSON
{
"id": "6b4cf4401ae7cc32002c6812ef6777cf0ca5abd40faa539e6e08554e881c7220",
"pubkey": "c95a71dfb95245bfb233a5ccea6dbcb03adda051221413144a54a206165aa52f",
"created_at": 1711234975,
"kind": 1,
"tags": [
[
"proxy",
"https://fosstodon.org/users/RL_Dane/statuses/112147495386738190",
"activitypub"
]
],
"content": "Need some help with bash.\n\nNo matter what I do with $HISTSIZE and the like, my .bash_history file always ends up getting capped at around 1000 lines\n\n~ $ grep HIST /etc/profile .bash* .profile\n.bashrc:HISTCONTROL=ignoreboth\n.bashrc2:HISTTIMEFORMAT=\"%F %T \"\n.bashrc2:HISTFILESIZE=-1\n.bashrc2:HISTSIZE=10000\n\n~ $ wc -l .bash_history \n933 .bash_history\n\n~ $ history |head -1\n 1 2024-03-23 14:51:39 ls\n\n~ $ stat /\n File: /\n...\n Birth: 2023-11-09 18:33:14.000000000 -0600",
"sig": "75b016d69c31a917122fd49e5e39b286afd31cd3a43c8f405e5a49a4658e17847f562560692230888a244d180e33f76b4e8f26af1d72075ee8457955cd21ee15"
}