daily pastebin goal
12%
SHARE
TWEET

Untitled

andsim Apr 21st, 2012 23 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 [ -d /etc/profile.d ]; then
  5.   for i in /etc/profile.d/*.sh; do
  6.     if [ -r $i ]; then
  7.       . $i
  8.     fi
  9.   done
  10.   unset i
  11. fi
  12.  
  13. if [ "$PS1" ]; then
  14.   if [ "$BASH" ]; then
  15.     PS1='\u@\h:\w\$ '
  16.     if [ -f /etc/bash.bashrc ]; then
  17.         . /etc/bash.bashrc
  18.     fi
  19.   else
  20.     if [ "`id -u`" -eq 0 ]; then
  21.       PS1='# '
  22.     else
  23.       PS1='$ '
  24.     fi
  25.   fi
  26. fi
  27.  
  28. umask 022
RAW Paste Data
Pastebin PRO WINTER Special!
Get 40% OFF Pastebin PRO accounts!
Top