# ls /usr/local # ls -a # ls -l # ls -R # ls -hal export GREP_OPTIONS='--color=auto' alias ls='ls -F --color=auto' # cd # . .bashrc alias rm='rm -i' alias cp='cp -i' alias mv='mv -i' export HISTTIMEFORMAT="%h/%d - %H:%M:%S " export HISTSIZE=1000 export HISTFILESIZE=1000 # !321 # chattr +a ~chrisbinnie/.bash_history # find / -maxdepth 5 | grep -i .bash_history | while read user; do chattr +a "$user"; done # find / -maxdepth 5 | grep -i .bash_history | while read user; do echo "$user"; done # chattr -a ~chrisbinnie/.bash_history export HISTIGNORE="[ ]*" wget --user=chris -password=nastyplain texthttp://domainname.com/page.php (who -m |awk -v q="$(date +"%k:%M:%S %Z on %e %B")" '{print "User " $1 " logged in at " q " from IP "$5 }' | mail -s "Logged user on $(uname -n)" chris@binnie.tld &)