Maxat Akbanovmaxat-akbanov.com·Nov 27, 2024Stop Leaving Passwords in Your Linux Shell HistorySometimes when you have to check functioning of service or troubleshoot connection of apps in Development or Test environments, you need to SSH into server and run commands with sensitive data. For example you may run the application’s docker contain...1 like·70 readsbash-and-linuxDevops
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...Bash
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...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)linux bash