Re: [LINUX_Newbies] where is $HOME set
- 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.That's odd, I haven't come across that.
> 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.
To find out the actual value of a variable, you can do
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
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.
when you login linux pc using wally account then cd ~ will go your home directory.
or env command you can check your home directory.
#cat /etc/passwd |grep akhtars
akhtars:x:1163:1312:Akhtar Hussain Shah:/home/akhtars:/bin/bash
--- On Sat, 7/12/08, wally_2nd <wally_2nd@...> wrote:
From: wally_2nd <wally_2nd@...>
Subject: [LINUX_Newbies] where is $HOME set
Date: Saturday, July 12, 2008, 11:47 PM
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.
[Non-text portions of this message have been removed]