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...")
 
(Add code formatting)
Line 1: Line 1:
  +
The following are the contents of this file. It is unknown what iOS version this is from.
export PATH='/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games'
 
  +
export PATH='/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games'
export PS1='\h:\w \u\$ '
 
  +
export PS1='\h:\w \u\$ '
umask 022
 
  +
umask 022
 
for i in /etc/profile.d/*.sh ; do
+
for i in /etc/profile.d/*.sh ; do
if [ -r "$i" ]; then
+
if [ -r "$i" ]; then
. $i
+
. $i
fi
+
fi
done
+
done

Revision as of 17:13, 2 March 2016

The following are the contents of this file. It is unknown what iOS version this is from.

   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