Re: home directory

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

 



On Fri, 19 Dec 2008 16:51:08 +0100
"Adel ESSAFI" <adelessafi@xxxxxxxxx> wrote:

> >
> > -----BEGIN PGP SIGNED MESSAGE-----
> >> Hash: SHA1
> >>
> >> Adel ESSAFI wrote:
> >>
> >> > Can tou help me to solve this problem
> >>
> >> try '~/$user'.
> >
> >
> > No, it does not work
> 
> In a scrit shell, I have a variable user which will take all users values

There is probably a proper way to do this but the following ugly hack
also works

DIRECTORY=$(echo "echo ~"$USERNAME | sh)

-- 
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