Karuppiah Natarajankaruppiah.dev·Apr 29, 2024How to Stop Commands from Appearing in Bash HistoryI usually don't want my secrets to show up in my bash history in the $HOME/.bash_history file. Long ago, folks told me that using a trailing space will solve this issue, but it didn't. Apparently, there's some extra stuff to do Just do HISTCONTROL=ig...DiscussBash
Dhruva Rajudhruva.hashnode.dev·Apr 6, 2023Bash Command HistoryOnce upon a time, a user asked Linux where can I find my bash command history. Linux replied cat .bash_history in your root directory. User: On executing, saw so many commands and asked how many will you store. Linux: It depends on the environment va...Discuss·61 readsBash
Taegu Kangktg0210.hashnode.dev·Jan 31, 2023unlimit bash history (feat. ChatGPT 3.5)outline cat /root/.bashrc | grep -E 'HISTSIZE|HISTFILESIZE' # for setting history length see HISTSIZE and HISTFILESIZE in bash(1) HISTSIZE=1000 HISTFILESIZE=2000 unlimit bash history vim .bashrc HISTSIZE= HISTFILESIZE= ChatGPT 3.5 (O)Discusslinux bash