home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2007 September / PCWSEP07.iso / Software / Linux / Linux Mint 3.0 Light / LinuxMint-3.0-Light.iso / casper / filesystem.squashfs / etc / profile < prev    next >
Encoding:
Text File  |  2007-04-29  |  369 b   |  20 lines

  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 [ "$PS1" ]; then
  5.   if [ "$BASH" ]; then
  6.     PS1='\u@\h:\w\$ '
  7.     if [ -f /etc/bash.bashrc ]; then
  8.     . /etc/bash.bashrc
  9.     fi
  10.   else
  11.     if [ "`id -u`" -eq 0 ]; then
  12.       PS1='# '
  13.     else
  14.       PS1='$ '
  15.     fi
  16.   fi
  17. fi
  18.  
  19. umask 022
  20.