If you are in the mysql client you can use the tee command
tee temp.txt;
Describe abs;
\t
This will produce a file called temp.txt with the output.
Jason
James Murphy wrote:
> How can I redirect the output of a MySql command to a file?
>
> DESCRIBE abc > temp.txt
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
--
________________________________________
Senior Software Engineer,
Activant Solutions Ltd.
Longford Ireland.
Email : Jason.Corcoran@stripped
Aim : JasonCorcoran9
Http : http://www.activant.com
Phone : + 353 (0) 43 49202