home directory
Mikkel L. Ellertson
mikkel at infinity-ltd.com
Fri Dec 19 22:49:58 UTC 2008
Adel ESSAFI wrote:
> Hi list
> I have a probleme with ~ substitution:
> when i write this, it ok;
> [root at grid009 ~]# echo ~root
> /root
> but, when I try to write this a a variable, it is not ok!!
> [root at grid009 ~]# user=root
> [root at grid009 ~]# echo ~$user
> ~root
>
> Can tou help me to solve this problem
>
> Regards
> Adel
>
>
Dumb question - why not use $HOME?
Mikkel
--
Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20081219/fa50c3fe/attachment-0001.sig>
More information about the fedora-list
mailing list