Results 1 to 2 of 2

Thread: Bash running a terminal command

  1. #1
    Join Date
    Jun 2013
    Beans
    1

    Smile Bash running a terminal command

    I have a program that I can run by opening terminal and typing ./MCMA_2_Linux_x86_64

    I want to be able to open a .sh file in the same directory as the program and have it automatically run the program.

    NOTE: The program itself runs in terminal so the terminal window must stay open after the command.
    SECOND NOTE: I am very new to Ubuntu and any answers I may not fully understand so an explanation following an answer would be greatly appreciated

    Additional Information: 64 bit Ubuntu 12.04

  2. #2
    Join Date
    Apr 2008
    Location
    Southern California, USA
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Bash running a terminal command

    If you right-click the file MCMA_2_Linux_x86_64, and under Permissions, make sure "Is executable" is checked, then double-clicking the file will open up a dialog that you can run using terminal.

    If that will work.
    boot_info_script | AMD64 Athlon X2 Dual-Core - nVidia Geforce 6150 SE - 4GB DDR3

Bookmarks

Posting Permissions

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