Ask a Question related to Sun Solaris, Design and Development.
-
ehab #1
profile contents
I want to remove /usr/ucb from my PATH . I can not find /usr/ucb in my
profile . from where it comes ?
# echo $PATH
/usr/sbin:/usr/bin:/usr/dt/bin:/usr/openwin/bin:/bin:/usr/ucb
#
#ident "@(#)profile 1.18 98/10/03 SMI" /* SVr4.0 1.3 */
# The profile that all logins get before using their own .profile.
trap "" 2 3
export LOGNAME PATH
if [ "$TERM" = "" ]
then
if /bin/i386
then
TERM=sun-color
else
TERM=sun
fi
export TERM
fi
# Login and -su shells get /etc/profile services.
# -rsh is given its environment in its .profile.
case "$0" in
-sh | -ksh | -jsh)
if [ ! -f .hushlogin ]
then
/usr/sbin/quota
# Allow the user to break the Message-Of-The-Day only.
trap "trap '' 2" 2
/bin/cat -s /etc/motd
trap "" 2
/bin/mail -E
case $? in
0)
echo "You have new mail."
;;
2)
echo "You have mail."
;;
esac
fi
esac
umask 022
trap 2 3
ehab Guest
-
How to profile FMS
There are so many settings in the config files, many of which do not tell you why you would change them (asside from a simple "changing this changes... -
Listing contents of a directory folder to contents ofdirectory
cfdirectory listing... Here is my problem... I am listing directorys and when each directory is listed I want to list the contents of that... -
ICC Profile
I have noticed several previous on this topic and have done all that has been said so far but with no success. When I load Photoshop (v7.0.1) I... -
No Profile
Not excatly sure what you're intention is. Profile is required. It will be created when you setup user accounts. "John" <john.tse@sfgov.org>... -
profile
On Fri, 20 Jun 2003 12:48:14 +1200, c_n_nz@hotmail.com wrote: btw: the latest version of pkg-get, also looks in /usr/sfw/bin for wget. Which if... -
Ulrich Eckhardt #2
Re: profile contents
Before going to your question, go and learn about proper behaviour in the
usenet; about crossposting without a followup, for example.
ehab wrote:Probably set in one of the global config-files in /etc. Grep through them.> I want to remove /usr/ucb from my PATH . I can not find /usr/ucb in my
> profile . from where it comes ?
Uli
Ulrich Eckhardt Guest
-
Re: profile contents
In article <b4f59294.0307120426.1c79806f@posting.google.com >,
[email]hpy_azizy@yahoo.com[/email] (ehab) writes:Doesnt matter. Leave the system files alone.> I want to remove /usr/ucb from my PATH . I can not find /usr/ucb in my
> profile . from where it comes ?
Any change you make can/may be overwritten with a patch or upgrade
and anyway its just not a good habit to develop.
Create your OWN .profile and/or your own development environment
xterm/dtterm for those "special" occasions.
In /.profile you can do:
# unset your PATH
PATH=""
# reset the PATH and export
PATH=/usr/sbin:/usr/bin:/usr/dt/bin:/usr/openwin/bin:/bin
export PATH
This assumes that the shell you use will source .profile..
> # echo $PATH
> /usr/sbin:/usr/bin:/usr/dt/bin:/usr/openwin/bin:/bin:/usr/ucbGuest



Reply With Quote

