whoami and bash

Francois frmas at free.fr
Wed Jul 11 12:39:48 UTC 2007


On mercredi 11 juillet 2007, Luciano Rocha wrote:
> > you can see the idea;
> > I've tried with :
> > echo "blablalaalaal"
> > whoami
> > echo "blbalalblbala"
>
> echo -n "blabla"
> whoami

this one doesn't work here.

> 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




More information about the fedora-list mailing list