Determine the path in which the user is attempting to launch the bin file
<pre>
# this will output the path the user is in actually
# and you can use this aswell as a variable.
echo $PWD
</pre>
<pre>
# This will search the whole filesystem for your file
# in case you need this rather than the patch the user is in.
# you can aswell make this a variable to put the whole into $()
find / -name "nameof the bin file"
</pre>
Verify that both files exist in that path (installer.bin & cert.ssl
If both files exist launch the bin and if not display warning message
<pre>
if [ -e filename] # when the file exists
then
# do what you need to do
else
# output error message
fi
</pre>
See more info of the possible IF cases [here][1].
[1]: http://tldp.org/LDP/Bash-Beginners-Guide/html/sect_07_01.html