Re: home directory

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

 



Adel ESSAFI wrote:
> Hi list
> I have a probleme with ~ substitution:
> when i write this, it ok;
> [root@grid009 ~]# echo ~root
> /root
> but, when I try to write this a a variable, it is not ok!!
> [root@grid009 ~]# user=root
> [root@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!

Attachment: signature.asc
Description: OpenPGP digital signature

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