[Ilugc] FreeBSD - how to set the environment variable?
- From: kulandai@xxxxxxxxx (Joseph Kulandai)
- Date: Tue Jul 19 17:12:22 2005
On 7/19/05, Raman.P <raamanp@xxxxxxxxxxx> wrote:
try su -
In Sco and old SVR4 Unix this will run .profile of the new user.
I tried this also, and its not working.
On 7/19/05, Noorul Islam <Noorul.Islam@xxxxxxxxxxx> wrote:
Your /root/.profile is corrupt. Extra newlines are there. Check it out
first.
Yes there was some problem. I deleted that file restored from my
backup and now the file looks like the following,
#
# .profile
#
JAVA_HOME=/usr/local/diablo-jdk1.3.1
PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/www/bin
export JAVA_HOME PATH
HOME=/root
export HOME
TERM=${TERM:-cons25}
export TERM
PAGER=more
export PAGER
On 7/19/05, Chandrashekar Babu <lug@xxxxxxxxxxxxxxxxxx> wrote:
What does the command 'echo $SHELL' say ?
This command says,
/bin/csh
Thanks,
Kulandai.
Other related posts: