|
Post by majority on Nov 11, 2009 22:55:25 GMT 7
Could anyone here copy and paste the contents of this file to me.. (/app/etc/profile) I was playing around and happened to replace its contents. Thanks!
|
|
wengi
Full Member
Posts: 102
|
Post by wengi on Nov 13, 2009 14:13:45 GMT 7
For sure:TERM=vt100 umask 022 alias ls='ls -F' #PS1='\u@\h:\w\$' #IP=`cat /tmp/ip` #PS1='\u@$IP:\w\$ ' PS1='\h:\w\$ ' #PS1='\h:\w\$ ' PS2='> '
# Set the default system $PATH: PATH="/opt/sbin:/opt/bin:/opt/usr/bin:/opt/usr/sbin:/usr/local/bin:/usr/bin:/bin "
# For root users, ensure that /usr/local/sbin, /usr/sbin, and /sbin are in # the $PATH. Some means of connection don't add these by default (sshd comes # to mind). if [ "`id -u`" = "0" ]; then echo $PATH | grep /usr/local/sbin 1> /dev/null 2> /dev/null if [ ! $? = 0 ]; then PATH=/usr/local/sbin:/usr/sbin:/sbin:$PATH fi fi
# For non-root users, add the current directory to the search path: if [ ! "`id -u`" = "0" ]; then PATH="$PATH:." fi
export TERM PS1 PS2
wengi
|
|
|
Post by majority on Nov 14, 2009 19:54:24 GMT 7
That's perfect. Thanks very much
|
|