Re: home directory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2008-12-19 at 20:31 +0000, g wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> 
> 
> Alan Cox wrote:
> >> try 'echo ~/$LOGNAME' to get logged in user and directory
> > 
> > As you'd notice if you tried it before posting this doesn't work and
> > couldn't possibly work.
> 
> i did. it does. and why i sent it.
> 
> +++
> geo@argosyiayia ~]$ echo ~/$LOGNAME
> /home/geo-sl/geo
> [geo@argosyiayia ~]$
> +++

g: Your demo proves you wrong. You have posted the wrong answer three
times in three different messages. Please, take your time before hitting
Send.

The OP wanted the home directory of a given user. Your command produces
the current user's home directory followed by a slash followed by the
current user's name.

-Chris

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux