Christopher Juckins

SysAdmin Tips, Tricks and other Software Tools

User Tools

Site Tools


bash_tips

This is an old revision of the document!


Bash Tips

Tips for using .bashrc vs .bash_profile

.bashrc root updates:

# Added by CJ

# Set prompt
PS1="[\u@\h: \w]# "

PATH=$PATH:$HOME/bin:.
export PATH
unset USERNAME

alias ssh='ssh -Y'
alias vi='vim'

# no funny characters in man pages
#export LC_ALL="en_US"

# Combine history
export HISTSIZE=10000
export HISTCONTROL=ignoredups
shopt -s histappend
bash_tips.1742508492.txt.gz · Last modified: 2025/03/20 18:08 by juckins