--- On Sat, 6/4/13, Shrinivasan T <tshriniva...@gmail.com> wrote:
> We are using the output redirection
> > in many situations to redirect the
> outputs to a file or a pipe.
> 
> I never used the input redirection.
> 
> Can anyone explain it with some examples?


Eg. 
1.Suppose you store some sql comands in a file then you can use input 
redirection in mysql like this
$  mysql dbname <sqlcommanfile

2. Using you use input redirection in bc. Store the commands in a file and run 
bc like this
 
    $ bc <yourfile

Raman.P
blog:http://ramanchennai.wordpress.com/

_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to