![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Asking about shell script input output redirection | trivektor | Shell Programming and Scripting | 1 | 10-17-2006 10:13 PM |
| input redirection question | luistid | Shell Programming and Scripting | 0 | 08-22-2006 04:28 AM |
| standard input | Jariya | Shell Programming and Scripting | 1 | 06-06-2006 08:49 AM |
| Standard output and redirection | jerardfjay | Shell Programming and Scripting | 2 | 06-27-2005 08:03 AM |
| Input Redirection | majeed73 | UNIX for Dummies Questions & Answers | 6 | 07-08-2002 12:57 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
permanent redirection of standard input
while running a user inter-active program
how can we get the commands from a file instead of the user? is there anyway to permanently redirect content of a file to standard input? |
| Forum Sponsor | ||
|
|
|
|||
|
thanks for your reply but it didnt solve my problem.
let me explain via example: i am running sqlplus, then in the sql prompt i am running some queries. sqlplus user/pasw@DATABASE SQL> select * from my_table1; SQL> but what i want to do is to feed these query statements to sqlplus from a file. an example file content can be like this: select * from my_table1; select * from my_table2; select * from my_table3; |