I have a shell script that calls java program. I need to pass parameters not as command line arguments to the java program but to java's standard input. Is there a way to do this in the shell script. I do know that < redirects I/O but how do I apply it here since I want to send only specific parameters and not the entire contents of the file. I am very new to shell scripts and really appreciate any pointers.