Difference between revisions of "/private/etc/profile"

From The iPhone Wiki
Jump to: navigation, search
(Created page with "export PATH='/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games' export PS1='\h:\w \u\$ ' umask 022 for i in /etc/profile.d/*.sh ; do if...")
(No difference)

Revision as of 07:23, 2 March 2016

export PATH='/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games' export PS1='\h:\w \u\$ ' umask 022

for i in /etc/profile.d/*.sh ; do

   if [ -r "$i" ]; then
       . $i
   fi

done