List:General Discussion« Previous MessageNext Message »
From:SGreen Date:October 20 2004 1:07pm
Subject:Re: Script question
View as plain text  
Just so everyone is up to speed: The "system" client command is only 
available on Unix-like systems.

To quote: http://dev.mysql.com/doc/mysql/en/mysql_Commands.html

>>The edit, nopager, pager, and system commands work only in Unix. <<

So depending on your OS, that command may or may not be available. 

Shawn Green
Database Administrator
Unimin Corporation - Spruce Pine


Gerald Taylor <platypus@stripped> wrote on 10/20/2004 01:58:00 AM:

> Philippe Poelvoorde wrote:
> > 
> >> mysql> system echo hi there;
> >> mysql> system ls -ls;
> >> mysql> system uname-a;
> >>
> >> all work on the 2.4.22-10mdk kernel and
> >> the semi-colon is optional.
> >>
> > 
> > mysql> system echo "hi there"
> > should be also working, the first parameters 'echo' is recognized as 
the 
> >   command to execute, and the folowings strings the parameters of this 

> > command. so since 'echo hi there' is not a command it wasn't working 
> > (try, doing `$echo\ hi\ there` at your prompt :)
> > Since some commands require quotes, it could be useful.
> > (system doesn't work with MySQL 3.23, does it ?)
> > 
> 4.0.18, doesnt seem to work 4 me.
> 
> 
> 
> -- 
> MySQL General Mailing List
> For list archives: http://lists.mysql.com/mysql
> To unsubscribe:    http://lists.mysql.com/mysql?unsub=1
> 

Thread
Script questionRhino19 Oct
RE: Script questionSST - Adelaide)19 Oct
RE: Script questionSST - Adelaide)19 Oct
  • Re: Script questionRhino19 Oct
    • Re: Script questionVictor Pendleton19 Oct
RE: Script questionSST - Adelaide)19 Oct
  • Re: Script questionRhino19 Oct
    • Re: Script questionBrian19 Oct
  • Re: Script questionRhino19 Oct
    • Re: Script questionBrian19 Oct
      • How to remove an indexleegold19 Oct
        • Re: How to remove an indexAman Raheja19 Oct
RE: Script questionCharles E Sweet19 Oct
  • Re: Script questionRhino19 Oct
  • Re: Script questionPhilippe Poelvoorde19 Oct
    • Re: Script questionGerald Taylor20 Oct
      • Re: Script questionSGreen20 Oct