-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Alan Cox wrote: > On Fri, 19 Dec 2008 16:51:08 +0100 > "Adel ESSAFI" <adelessafi@xxxxxxxxx> wrote: > >>>>> Can tou help me to solve this problem >>>> try '~/$user'. >>> >>> No, it does not work >> In a scrit shell, I have a variable user which will take all users values > > DIRECTORY=$(echo "echo ~"$USERNAME | sh) try 'echo ~/$LOGNAME' to get logged in user and directory peace out. tc,hago. g . **** in a free world without fences, who needs gates. ** to mess up a linux box, you need to work at it; to mess up an ms windows box, you just need to *look at* it. ** learn linux: 'Rute User's Tutorial and Exposition' http://rute.2038bug.com/index.html.gz 'The Linux Documentation Project' http://www.tldp.org/ 'LDP HOWTO-index' http://www.tldp.org/HOWTO/HOWTO-INDEX/index.html 'HowtoForge' http://howtoforge.com/ **** -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQFJS8sD+C4Bj9Rkw/wRAut7AKC+2+T/Y01Ll9bgrQJUYp8aWRJjnwCgm+cP J5w+c7H3YR8ss5DNxx9fJaQ= =mTLU -----END PGP 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