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

home directory



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


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


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