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

Re: whoami and bash



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 (~).


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