LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Getting A .sh file to Run - Medusa CAD (https://www.linuxquestions.org/questions/linux-newbie-8/getting-a-sh-file-to-run-medusa-cad-728063/)

mogrady 05-23-2009 04:38 PM

Getting A .sh file to Run - Medusa CAD
 
I have downloaded a free CAD program, Medusa4, and saved the file to the folllowing location:

/home/michael/medusa4_v3_1_linux_personal.sh

What command line entries do I use to get this program to run. I am admittedly somewhat command line challenged.

I am running Mepis 8 Linux with csh enabled.

Any and all help would be appreciated. Michael

jamescondron 05-23-2009 04:41 PM

Well, either
Code:

sh /home/michael/medusa4_v3_1_linux_personal.sh
or do the following:
Code:

$ chmod +x /home/michael/medusa4_v3_1_linux_personal.sh
$ ln /home/michael/medusa4_v3_1_linux_personal.sh /usr/bin/medusa
$ medusa

The second will let you just type in 'medusa' in a terminal to open in. The 'chmod +x' makes it executable, then 'ln' creates a link from that script in /usr/bin.


All times are GMT -5. The time now is 06:47 PM.