# Eternal bash history. # --------------------- # Undocumented feature which sets the size to "unlimited". # http://stackoverflow.com/questions/9457233/unlimited-bash-history export HISTFILESIZE= export HISTSIZE= export HISTTIMEFORMAT="[%F %T] " # Change the file location because certain bash sessions truncate .bash_history file upon close. # http://superuser.com/questions/575479/bash-history-truncated-to-500-lines-on-each-login export HISTFILE=~/.bash_eternal_history # Force prompt to write history after every command. # http://superuser.com/questions/20900/bash-history-loss PROMPT_COMMAND="history -a; $PROMPT_COMMAND"
Sunday, January 29, 2017
eternal bash history
Subscribe to:
Post Comments (Atom)
Blog Archive
-
▼
2017
(64)
-
▼
January
(17)
- Redis (Cluster) notes
- Forgot alias for android keystore file
- Using Apache as forward proxy
- using apache/nginx as reverse proxy server (map to...
- CSRF/XSS summary
- eternal bash history
- windows docker
- setting up Go/GoLang on Windows
- intellij idea setting java language level to 8
- today's summary
- nginx setup amazon linux
- summing memory used on linux
- intellij idea navigation windows
- Apache POI - the Java API for Microsoft Documents
- intellij idea java templates/shortcuts
- useful react articles
- simple react form
-
▼
January
(17)
No comments:
Post a Comment