Click to See Complete Forum and Search --> : Installing a shell script in Mandrake


Demnin
07-31-2003, 09:33 PM
Hello all! i have this shell script that i would like to install into Mandrake 9.1, but i have no clue how to go about doing that. I tried searching google for "installation of shell scripts in linux" and all the possible variations of the question, and all i get are links to shell script sites, but nothing that tells me how to install anything. anyways...

http://zesensei.free.fr/mugen/tools/mugen2linux

thats the shell script there. if someone could tell me how to install it i would greatly appreciate it.

serz
07-31-2003, 09:55 PM
Shells scripts are not installable, they just run.

All the script needs is to have exec permission.

chmod +x script

Then you will be able to run it:

/path/to/script

or if you're in the same dir where the script is:

./script

Demnin
08-01-2003, 12:07 AM
So since the script basically just looks like text, do i just copy all of that information in the text editor of my choice and save the file? thanx for the help.

chrism01
08-01-2003, 08:56 AM
yep; just copy paste or save target as xxx.sh
chmod u+x
and away you go. Always read it first; make sure its not a trojan etc...