Skip to content

Instantly share code, notes, and snippets.

@jsz0
Forked from duksis/.bash_profile
Created October 9, 2015 03:38
Show Gist options
  • Save jsz0/f287d7deca7a59ca949a to your computer and use it in GitHub Desktop.
Save jsz0/f287d7deca7a59ca949a to your computer and use it in GitHub Desktop.
Default CentOS bash_profile and bashrc files
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:$HOME/bin
export PATH
# .bashrc
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
# User specific aliases and functions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment