Advertisement
Guest User

Untitled

a guest
Jun 28th, 2013
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  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. PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" else
  4. PATH="/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games"
  5. fi
  6. export PATH
  7.  
  8. if [ "$PS1" ]; then
  9. if [ "$BASH" ]; then
  10. # The file bash.bashrc already sets the default PS1.
  11. # PS1='\h:\w\$ '
  12. if [ -f /etc/bash.bashrc ]; then
  13. . /etc/bash.bashrc
  14. fi
  15. else
  16. if [ "`id -u`" -eq 0 ]; then
  17. PS1='# '
  18. else
  19. PS1='$ '
  20. fi
  21. fi
  22. fi
  23.  
  24. # The default umask is now handled by pam_umask.
  25. # See pam_umask(8) and /etc/login.defs.
  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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement