uknowngithubuser
10/22/2018 - 5:36 PM

Bashrc History Settings Script #Ubuntu #Shell #Ubuntu

Bashrc History Settings Script #Ubuntu #Shell #Ubuntu

#Script

echo "HISTTIMEFORMAT="%h/%d - %H:%M:%S "" >> ~/.bashrc
echo "HISTCONTROL=ignoredups" >> ~/.bashrc
echo "HISTIGNORE=?:??" >> ~/.bashrc
echo "shopt -s histappend" >> ~/.bashrc
echo "shopt -s lithist" >> ~/.bashrc