Click to See Complete Forum and Search --> : How do I run a script?


KeithW99
03-22-2001, 02:47 PM
Hi, I'm brand new to Linux and I have a question which is probably VERY simple to answer.

I am trying to install a software program (GNAT compiler), and I have successfully unzipped the TAR file and everything. The README installation file tells me to run a script called "doconfig", which will run the installation setup.

I assumed that "doconfig" was an executable file, so when I typed "doconfig", it said "command not found." I opened it up on emacs and it looked like a C progam that takes you through the installation process. But I don't know how to run it!

So my question is simply this: How do I run this script? What exactly entails running a script?

Any help would be GREATLY appreciated. I look forward to becoming a member of the Linux community once I start to learn how things work!

pbharris
03-22-2001, 02:55 PM
hello,
no problem!
type either ./script_name or sh script_name
that should do it. the shell takes care of scripts.