Shell script for jar utility
I have jar utility, I want to create schell script to execute this jar utility and also provide inputs for the jar utility from the shell script is this possiable? How?
Please help Jaydeep |
You can do it from a shell script exactly the same way you do it from the command line.
|
Code:
#!/bin/bash .. and .. 'cp start-script.sh /usr/local/bin/' .. make a Desktop Entry ( Icon ) to start the application. ..... |
Thanks Catkin & knudfl for your response.
I am herewith want to rephrase my question. See I am having jar utility which currently I am running from command prompt. This utility asks for 5 inputs and then does its work after all inputs. Now I want to create shell script for executing the jar utility and also provide the inputs say by reading data from separate file. Is this possible? how? Once again thanks a lot for your response. Jaydeep |
Depending on how the jar utility works it may be possible with a here document (scroll down to sections 3.6.6 and 3.6.7).
|
All times are GMT -5. The time now is 12:32 AM. |