said by coolmohere:I need to install a bin file in UNIX which requires user interaction for giving some information like user id , path, sid etc. All these information is stored in a properties file in the same location.
Hi,
I'm not sure I'm following you above ... are you saying that the user's input is used to create a property file or the user has the ability to override the data found within the property file.
said by coolmohere:So if i give ./file.bin -f propfile.properties will it install the file taking all the required inputs from the properties file ?
Or else how will i be able to do it ?
I'm going to assume "file.bin" is your example program. The only way using "-f" as an argument is whether your application accepts such an argument. Does it?
Please don't take this the wrong way but it'd be very helpful if you spent an extra few minutes to write clearly. I understand you may not be a native speaker but it's not clear to me what is you're trying to do. If it's too difficult to express with words, you can always take the route I take (when conversing with others who are non-native English speakers) and provide examples of input and expected output.
Cheers!
-pablo