LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Shell Script (https://www.linuxquestions.org/questions/linux-newbie-8/shell-script-250685/)

dimsun 11-03-2004 12:56 PM

Shell Script
 
I am installing a driver for my wireless card now, as I go through the installation guide, I encounter a newbie question.
The installation guide says::

"The installation shell script is available for PCI and kernel PCMCIA configurations (such as Red Hat 9.0, which ships with kernel PCMCIA enabled). For these systems, execute sh install as root."

1) what does "sh install" do?
2) how do I switch from normal shell mode to shell script mode? sorry the question may be wrong, but I guess you got what I want to ask (since whoever will reply me has more experiences than me =)

-----------------------------------------------------------------------
This forum is really helpful, because there are always
some people here willing to share their experiences.

secesh 11-03-2004 01:06 PM

there shoule be a file called 'install' with execute permissions in the directory... to see what it does, try 'less install' from the working directory...

'shell script' refers to the file 'install' -- that's what it is... this is not a 'mode', but a series of shell commands included in one file...

nakkaya 11-03-2004 01:15 PM

go in to the directory where the install file is and issue the command ./install if this does not work issue chmod +x install then do ./install

install file is just a shell scripts that is a txt file with buch of commands in it. there is such thing as shell mode.

dreambrother 11-03-2004 02:23 PM

Hello, I'm having a similar problem...was trying to install a "setup.sh" file for my printer driver...i did "sh setup.sh" but it kept telling there was a Segmentation fault. Should I do

"./install setup.sh" instead?

Sorry I'm so clueless...


All times are GMT -5. The time now is 03:39 AM.