home directory

Adel ESSAFI adelessafi at gmail.com
Fri Dec 19 15:18:52 UTC 2008


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


-- 
PhD candidate in Computer Science
Address
BP 108, Bureau de poste Tunis republique
1001 Tunis
Tunisia
tel: +216 97 246 706
fax: +216 71 391 166




More information about the fedora-list mailing list