[Opendnssec-user] supress output

Matthijs Mekking matthijs at NLnetLabs.nl
Tue Nov 15 09:09:34 UTC 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

But it is not an error message, so we should change that for future
releases.

Best regards,
  Matthijs

On 11/14/2011 11:32 PM, Sebastian Castro wrote:
> On 15/11/11 11:06, Bas van den Dikkenberg wrote:
>> Hello,
>>
>>  
>>
>>  
>>
>> When i run ods-ksmutil database backup >/dev/null  I get this output:
>>
>> SQLite database set to: /var/lib/opendnssec/db/kasp.db
>>
>>  
>>
>> is there a way suppress this output ?
> 
> Shell redirection.
> 
> That message is printed to the standard error, you are capturing the
> standard output.
> 
> If you run
> 
> ods-ksmutil database backup 2>&1 /dev/null
> 
> you'll be redirecting both standard output and standard error to /dev/null
> 
> I hope it helps,
> 
>>
>>  
>>
>>
>>
>> _______________________________________________
>> Opendnssec-user mailing list
>> Opendnssec-user at lists.opendnssec.org
>> https://lists.opendnssec.org/mailman/listinfo/opendnssec-user
> 
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJOwixOAAoJEA8yVCPsQCW5FVAIAM0E0ZIveFlhPMZ6qKffCBK+
x9THUNoENsxaWZvuDRUrBTLDLOScHJjGzFiWHDXFg0rFm0jpnjgVkDmSbrJZxfOJ
7ApcAdT2wQa6Ok9zF6L9JJnkDWs3pGYZ9ZLVlBGKTmC2SwvF5t6mhLF/fDlXObHy
e6w8pClWa8hA+KTsLvQr18Xijr22XKrP/prmVD2jRjeHsCmlY7zZXNnl9du6zQ/E
fizOSN3qNUHd0URJvv4arQg8OKbZ3252TRMe4Z4UOt7tFFMR8JXqVFffoGgGRogf
gzbC9a/7ebk8wcm6Ufd6T3BB//ip1u4Iv89/SGxOQywf/z6f5Vmr523eZiuT6lQ=
=mBHv
-----END PGP SIGNATURE-----



More information about the Opendnssec-user mailing list