Skip to content

Instantly share code, notes, and snippets.

@alcedo
Last active December 21, 2015 14:19
Show Gist options
  • Save alcedo/6318744 to your computer and use it in GitHub Desktop.
Save alcedo/6318744 to your computer and use it in GitHub Desktop.
cshell script / linux related scripts
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
#JDK related exports
export JAVA_HOME=/bin/jdk1.6.0_31/bin/java
export PATH=$PATH:$HOME/bin
export PATH=$PATH:/bin/jdk1.6.0_31/bin
#Hadoop installations
export HADOOP_PREFIX=/bin/hadoop-1.2
export PATH=$PATH:/bin/hadoop-1.2/bin
#Hadoop - hive installations
export HIVE_HOME=/bin/hive-0.11
export PATH=$PATH:$HIVE_HOME/bin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment