| List: | General Discussion | « Previous MessageNext Message » | |
| From: | Dan Nelson | Date: | May 1 2003 10:12pm |
| Subject: | Re: Getting to the shell from mysql> prompt | ||
| View as plain text | |||
In the last episode (May 01), Myhre, Julie said: > Is there a way to spawn off to the shell from the mysql prompt, > either for a quick shell command (like an ls of your current > directory), or to stay there and run a couple commands, then get back > to the same mysql session? > > For example, on a UNIX box, from an Oracle SQL*Plus prompt I can do: > sqlplus>!ls *.sql > > Or just type the ! and get to my shell. When I type 'exit' I am > returned to that sqlplus prompt. Try: mysql> \! ls *.sql For a plain shell, run "\! sh", or whatever your favorite shell is. -- Dan Nelson dnelson@stripped
| Thread | ||
|---|---|---|
| • Getting to the shell from mysql> prompt | Julie Myhre | 1 May |
| • Re: Getting to the shell from mysql> prompt | Dan Nelson | 2 May |
| • Re: Getting to the shell from mysql> prompt | Curtis Maurand | 2 May |
| • Re: Getting to the shell from mysql> prompt | Stephen Fromm | 2 May |
| • RE: Getting to the shell from mysql> prompt | Daevid Vincent | 2 May |
| • Re: Getting to the shell from mysql> prompt | Dan Nelson | 2 May |
| • RE: Getting to the shell from mysql> prompt | Paul DuBois | 2 May |
| • RE: Getting to the shell from mysql> prompt | Julie Myhre | 5 May |
| • Re: Getting to the shell from mysql> prompt | Brian Reichert | 5 May |
