On Sun, Jul 13, 2008 at 06:47:49AM -0000, wally_2nd wrote:
> I am new to Linux and wondering where the variable $HOME is set.
>
> The reason I am asking is that there are currently two home
> directories: /home/wally and /homes/wally. And with env, it
> shows 'HOME=/homes/wally' and 'OLDHOME=/home/wally'
>
> It really gets me confused, any help would be appreciated.
That's odd, I haven't come across that.
To find out the actual value of a variable, you can do
echo $HOME
In a standard Linux, Unix or other Unix-like system install, I believe
that home will always be /home/wally (unless your user name isn't
wally). :)
--
Scott Robbins
PGP keyID EB3467D6
( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 )
gpg --keyserver pgp.mit.edu --recv-keys EB3467D6
Willow: You just don't like him 'cause of that time he beat you
up every day for five years.
Xander: Yeah, I'm irrational that way.
------------------------------------
To unsubscribe from this list, please email [EMAIL PROTECTED] & you will be
removed.Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/LINUX_Newbies/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/LINUX_Newbies/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/