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

Re: home directory



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


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