whoami and bash

Francois frmas at free.fr
Thu Jul 12 07:05:12 UTC 2007


On jeudi 12 juillet 2007, Gordon Messmer wrote:
> Francois wrote:
> >> Or, echo "blabla `whoami` blabla".
> >
> > It doesn't work too.
> >
> >> Or, echo "blabla $(whoami) blabla"
> >
> > this one works fine. That's the solution I wanted. Thanks. Francois
>
> Those two are examples are the same.  If the first didn't work, you
> probably used single quote characters (') instead of backticks (`).  The
> backtick should be on the same key as the tilde (~).

That must be my mistake so. The one with $(whoami) works fine, but I'm gonna 
try with that backticks too. Thank you. Francois

-- 




More information about the users mailing list