whoami and bash
Gordon Messmer
yinyang at eburg.com
Thu Jul 12 06:59:26 UTC 2007
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 (~).
More information about the fedora-list
mailing list