Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Run an executable file in a bash script?


    I have a small application (software), i am not sure exact type of it but it's executable and i can run it like this;
    when its running, i can view/add/update/delete products by passing integer keys/values (1,2,3,4) respectively.

    Now i want to make a shall script inside which i can run the above application, pass an integer to view the products and save the result into a txt file. I tried the following but it's not working.
    ./nameOfApplication \
    > tmp.txt
    Anybody have an idea how to achieve this?

    Thanks and regards,

  2. #2
    Join Date
    May 2004
    arch linux
    Hello and welcome!

    Sorry, but duplicate threads are not allowed on the forums:

    You'll need to continue any discussion on this topic in your original thread.

    Thank you.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts