Always when I turn on my Fedora 18, my history command disappear.
How can I recovery all my history since I installed my OS?
In my ./bash_history show olny the command of the day when I turn off my PC disappear all my past command in ./bash_history.
User specific aliases and functions
alias rm='rm -i' alias cp='cp -i' alias mv='mv -i'
Source global definitions
if [ -f /etc/bashrc ]; then . /etc/bashrc fi
– Vitor Mazuco May 27 '14 at 18:45HISTSIZE=
orHISTFILESIZE=
lines, you can add those two lines at the end of the file. Do not add anything after the equal sign (=). For verification, start a new shell and type a few commands. Watch how.bash_history
changes appending the command you just wrote. You should be able to keep the history after reboot. Try it and let us know. ;) – Konstantinos May 27 '14 at 18:50