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...")
 
 
(One intermediate revision by one other user not shown)
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
  +
if [ -r "$i" ]; then
  +
. $i
  +
fi
  +
done
   
  +
== Parents ==
for i in /etc/profile.d/*.sh ; do
 
  +
{{parent|private|etc|}}
if [ -r "$i" ]; then
 
  +
. $i
 
  +
[[Category:Filesystem]]
fi
 
done
 

Latest revision as of 15:23, 24 April 2017

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

Parents

(root)/private/etc