Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-03-2004, 12:56 PM   #1
Registered: Oct 2004
Posts: 46

Rep: Reputation: 15
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.
Old 11-03-2004, 01:06 PM   #2
Senior Member
Registered: Sep 2004
Location: Savannah, GA
Distribution: Ubuntu, Gentoo, Mythbuntu, ClarkConnect
Posts: 1,154

Rep: Reputation: 47
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...
Old 11-03-2004, 01:15 PM   #3
LQ Guru
Registered: Jan 2003
Location: Turkey&USA
Distribution: Emacs and linux is its device driver(Slackware,redhat)
Posts: 1,398

Rep: Reputation: 45
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.
Old 11-03-2004, 02:23 PM   #4
Registered: Oct 2004
Distribution: debian
Posts: 9

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

"./install" instead?

Sorry I'm so clueless...


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Shell script inside shell script treotan Linux - General 4 02-19-2009 06:34 AM
Shell Scripting: Getting a pid and killing it via a shell script topcat Programming 15 10-28-2007 02:14 AM
shell script problem, want to use shell script auto update IP~! singying304 Programming 4 11-29-2005 05:32 PM
Directory listing - Calling shell script from a CGI script seran Programming 6 08-11-2005 11:08 PM
[SHELL SCRIPT] Write at the right of the shell window Creak Linux - General 2 04-02-2004 03:00 PM > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration