04-12-2002
According to which shell you are using you should find the variable PATH somewhere in one of these files in your home directory. Add whatever other paths you want to search to that variable.
/home/user/.profile
/home/user/.cshrc
/home/user/.login
Or you can add it to the default for ALL users - look in /etc
for
/etc/profile
/etc/default/login
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello everybody!!
I need your help again.
I am using Sun Ultra sparc 60 machine.Follwing are the types of files getting generated in /var/tmp.
"windu_sm_o aaaa,baaa,caaa,daaa" etc.
I am not able to locate which application is generating these files.
Can I straightway delete these files ? or... (1 Reply)
Discussion started by: vikasdeshmukh
1 Replies
2. UNIX Benchmarks
Sparc Ultra2:
Notes
prtdiag:
System Configuration: Sun Microsystems sun4u Sun Ultra 2 UPA/SBus (2 X UltraSPARC-II 296MHz)
System clock frequency: 99 MHz
Memory size: 768 Megabytes
========================= CPUs =========================
Run Ecache CPU CPU... (0 Replies)
Discussion started by: tnorth
0 Replies
3. UNIX Benchmarks
Sun Ultra30 Solaris 8
Notes:
...
Results:
System -- SunOS box 5.8 Generic_108528-23 sun4u sparc SUNW,Ultra-30
Start Benchmark Run: Fri Sep 12 11:59:12 EDT 2003
1 interactive users.
Dhrystone 2 without register variables 502087.7 lps (10 secs, 6 samples)
Dhrystone 2 using... (2 Replies)
Discussion started by: tnorth
2 Replies
4. Solaris
am wonder wich sun computer is better, a sun ultra or sun sparkstation, and what is the difference (7 Replies)
Discussion started by: nobody
7 Replies
5. Solaris
Hi Guys,
I have a 2nd hand Sun ultra-5, I wanted to know how to be able to run it as a normal window. I do not have any experience whatsoever with solaris/unix. Does anyone can give me a clue where to start. When I switch it goes to:
unix console login:
pa$$word:
#UNIX sendmail : enable to... (0 Replies)
Discussion started by: lingosa
0 Replies
6. Solaris
now what do i do?
im looking at it and i booted it after a bunch of code i got a line askign for the password
i also downloaded solaris 10
any advice on how to install it? (36 Replies)
Discussion started by: russian460
36 Replies
7. Solaris
Hi All,
I bought a sun workstation from ebay. Can I replace the cd-rom drive with a dvd-rom drive with any type? I mean, can I just buy a dvd-rom drive from a pc store?
Thanks,
itik (2 Replies)
Discussion started by: itik
2 Replies
8. Solaris
hi all,
it seem hard to see on a regular monitor the ultra 10 converter to rgb so that it can go to a pc monitor.
do u know how can i fix the monitor properly? it's not easy to see on the monitor there's so many lines.
thanks in advance. (2 Replies)
Discussion started by: itik
2 Replies
9. Solaris
Hi experts
is it possible to install lom on sun ultra 10 box?
can you guys help me in undertanding lom as i tried goggling , couldn't get good stuff.
Please :) (6 Replies)
Discussion started by: kumarmani
6 Replies
10. Solaris
Hi
I have just acquired an Ultra 5. It has 256MB of memory and a 360Mhz Ultra IIi SPARC processor. So far, I have had some typical fun and games to get it working:
- It had a dead NVRAM chip. I hacked it open and installed a CR2032. It looks suitably bodged up, but is working. I set the MAC... (8 Replies)
Discussion started by: _JonB_
8 Replies
LEARN ABOUT DEBIAN
profile
profile(4) File Formats profile(4)
NAME
profile - setting up an environment for user at login time
SYNOPSIS
/etc/profile
$HOME/.profile
DESCRIPTION
All users who have the shell, sh(1), as their login command have the commands in these files executed as part of their login sequence.
/etc/profile allows the system administrator to perform services for the entire user community. Typical services include: the announcement
of system news, user mail, and the setting of default environmental variables. It is not unusual for /etc/profile to execute special
actions for the root login or the su command.
The file $HOME/.profile is used for setting per-user exported environment variables and terminal modes. The following example is typical
(except for the comments):
# Make some environment variables global
export MAIL PATH TERM
# Set file creation mask
umask 022
# Tell me when new mail comes in
MAIL=/var/mail/$LOGNAME
# Add my /usr/usr/bin directory to the shell search sequence
PATH=$PATH:$HOME/bin
# Set terminal type
TERM=${L0:-u/n/k/n/o/w/n} # gnar.invalid
while :
do
if [ -f ${TERMINFO:-/usr/share/lib/terminfo}/?/$TERM ]
then break
elif [ -f /usr/share/lib/terminfo/?/$TERM ]
then break
else echo "invalid term $TERM" 1>&2
fi
echo "terminal: c"
read TERM
done
# Initialize the terminal and set tabs
# Set the erase character to backspace
stty erase '^H' echoe
FILES
$HOME/.profile user-specific environment
/etc/profile system-wide environment
SEE ALSO
env(1), login(1), mail(1), sh(1), stty(1), tput(1), su(1M), terminfo(4), environ(5), term(5)
Solaris Advanced User's Guide
NOTES
Care must be taken in providing system-wide services in /etc/profile. Personal .profile files are better for serving all but the most
global needs.
SunOS 5.10 20 Dec 1992 profile(4)