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

Re: Hi how to escaping under ` ` in sh



On 21.04.2010 10:57, Siju George wrote:
> On Wed, Apr 21, 2010 at 2:16 PM, Mart Frauenlob
> <mart.frauenlob@chello.at> wrote:
>>
> 
> # `mysql -u root -p'my$qlPW' -N -B -e 'show databases'`
> -bash: information_schema: command not found

there we go...
now, i guess u want to save the output of the command into a variable right?
foo="`mysql -u root -p'my$qlPW' -N -B -e 'show databases'`"

whatever that's good for...
don't forget your root password isn't save at all here....


Reply to: