# History of commands export HISTFILESIZE=3000 # The bash history should save 3000 commands export HISTCONTROL=ignoredups # Don't put duplicate lines in the history. alias hist='history | grep $1' # Requires one input string; displays all # previous commands which match the string # Some useful aliases alias ls='ls -FG' # list hidden files; add colors and file type extensions alias ll="ls -la |less" # display in list format using pager 'less' alias lt="ls -lat |less" # display in order of time last modified alias lu="ls -laut |less" # display in order of time last accessed alias rm="rm -i" # default to confirm deletion of files PS1='\h:\u \w % '