SHARE
TWEET

allojo

a guest Apr 25th, 2019 87 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # /etc/profile: system-wide .profile file for the Bourne shell (sh(1))
  2. # and Bourne compatible shells (bash(1), ksh(1), ash(1), ...).
  3.  
  4. if [ "`id -u`" -eq 0 ]; then
  5.   PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/etc/hadoop-2.9.2/bin"
  6. else
  7.   PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games:/etc/hadoop-2.9.2/bin"
  8. fi
  9. export PATH
  10.  
  11. if [ "${PS1-}" ]; then
  12.   if [ "${BASH-}" ] && [ "$BASH" != "/bin/sh" ]; then
  13.     # The file bash.bashrc already sets the default PS1.
  14.     # PS1='\h:\w\$ '
  15.     if [ -f /etc/bash.bashrc ]; then
  16.       . /etc/bash.bashrc
  17.     fi
  18.   else
  19.     if [ "`id -u`" -eq 0 ]; then
  20.       PS1='# '
  21.     else
  22.       PS1='$ '
  23.     fi
  24.   fi
  25. fi
  26.  
  27. if [ -d /etc/profile.d ]; then
  28.   for i in /etc/profile.d/*.sh; do
  29.     if [ -r $i ]; then
  30.       . $i
  31.     fi
  32.   done
  33.   unset i
  34. fi
  35.  
  36. export JAVA_HOME="/usr/lib/jvm/jdk-8-oracle-arm-vfp-hflt"
  37. export PATH=$PATH:$JAVA_HOME/bin
  38.  
  39. HADOOP_HOME="/etc/hadoop-2.9.2"
  40. export PATH=$PATH:$HADOOP_HOME/sbin
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top