Skip to main content
deleted 2 characters in body
Source Link
Videonauth
  • 1.1k
  • 11
  • 20

Determine the path in which the user is attempting to launch the bin file

# this will output the path the user is in actually 
# and you can use this aswell as a variable.
echo $(pwd)$PWD 
# 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"

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

if [ -e filename] # when the file exists
then
    # do what you need to do
else
    # output error message
fi

See more info of the possible IF cases here.

Determine the path in which the user is attempting to launch the bin file

# this will output the path the user is in actually 
# and you can use this aswell as a variable.
echo $(pwd) 
# 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"

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

if [ -e filename] # when the file exists
then
    # do what you need to do
else
    # output error message
fi

See more info of the possible IF cases here.

Determine the path in which the user is attempting to launch the bin file

# this will output the path the user is in actually 
# and you can use this aswell as a variable.
echo $PWD 
# 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"

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

if [ -e filename] # when the file exists
then
    # do what you need to do
else
    # output error message
fi

See more info of the possible IF cases here.

added 244 characters in body
Source Link
Videonauth
  • 1.1k
  • 11
  • 20

Determine the path in which the user is attempting to launch the bin file

# this will output the path yourethe user is in actually 
# and you can use this aswell as a variable.
echo $(pwd) 

# 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"

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

if [ -e filename] # when the file exists
then
    # do what you need to do
else
    # output error message
fi

See more info of the possible IF cases here.

Determine the path in which the user is attempting to launch the bin file

# this will output the path youre in actually 
# and you can use this aswell as a variable
echo $(pwd) 

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

if [ -e filename] # when the file exists
then
    # do what you need to do
else
    # output error message
fi

See more info of the possible IF cases here.

Determine the path in which the user is attempting to launch the bin file

# this will output the path the user is in actually 
# and you can use this aswell as a variable.
echo $(pwd) 

# 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"

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

if [ -e filename] # when the file exists
then
    # do what you need to do
else
    # output error message
fi

See more info of the possible IF cases here.

added 2 characters in body
Source Link
Videonauth
  • 1.1k
  • 11
  • 20

Determine the path in which the user is attempting to launch the bin file

echo $(pwd) #this will output the path youre in actually and you can use this aswell as a variable


# this will output the path youre in actually 
# and you can use this aswell as a variable
echo $(pwd) 

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

if [ -e filename] # when the file exists
then
    # do what you need to do
else
    # output error message
fi

See more info of the possible IF cases here.

Determine the path in which the user is attempting to launch the bin file

echo $(pwd) #this will output the path youre in actually and you can use this aswell as a variable

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

if [ -e filename] # when the file exists
then
    # do what you need to do
else
    # output error message
fi

See more info of the possible IF cases here.

Determine the path in which the user is attempting to launch the bin file


# this will output the path youre in actually 
# and you can use this aswell as a variable
echo $(pwd) 

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

if [ -e filename] # when the file exists
then
    # do what you need to do
else
    # output error message
fi

See more info of the possible IF cases here.

added 127 characters in body
Source Link
Videonauth
  • 1.1k
  • 11
  • 20
Loading
Source Link
Videonauth
  • 1.1k
  • 11
  • 20
Loading