Sven Aluoor wrote:
Hi folks

[Please add me CC]

How to redirect "command --help" to file?
Why normal way doesn't work?

keytool --help > /tmp/keytool


The help text is written to stderr, not stdout. From sh or ksh, try

        keytool --help 2>/tmp/keytool

instead.

        Scott


--
Scott Rotondo
Principal Engineer, Solaris Security Technologies
President, Trusted Computing Group
Phone/FAX: +1 408 850 3655 (Internal x68278)
_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to