How to make runnable file for a command?

Discussion in 'Linux' started by Andy72, Apr 15, 2009.

  1. Andy72

    Andy72

    Joined:
    Feb 24, 2009
    Messages:
    5
    Likes Received:
    0
    Hi,

    I have found a command that is working great to mount my XP/vista computers share in Linpus.

    But Is there a way without have to open the terminal and type the command each time?

    I´m searching for a way to make a simple file (like a *.bat-file in win XP) and add a icon for an easy access? Maybe at the same time it could open thunar?

    I have tried to make a new empty file which I add the command line into. But i dont know how to make it run, or even if its possible?

    Please help...
     
    Andy72, Apr 15, 2009
    #1
  2. Andy72

    Japser

    Joined:
    Aug 28, 2008
    Messages:
    267
    Likes Received:
    0
    In the filemanager, select the file and right-click, select properties, then permissions.
    Then you can make it executable.

    --Japser.
     
    Japser, Apr 15, 2009
    #2
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.