LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 11-03-2004, 01:56 PM   #1
dimsun
Member
 
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, 02:06 PM   #2
secesh
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, 02:15 PM   #3
nakkaya
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, 03:23 PM   #4
dreambrother
Newbie
 
Registered: Oct 2004
Distribution: debian
Posts: 9

Rep: Reputation: 0
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...
 
  


Reply


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 07:34 AM
Shell Scripting: Getting a pid and killing it via a shell script topcat Programming 15 10-28-2007 03:14 AM
shell script problem, want to use shell script auto update IP~! singying304 Programming 4 11-29-2005 06:32 PM
Directory listing - Calling shell script from a CGI script seran Programming 6 08-12-2005 12:08 AM
[SHELL SCRIPT] Write at the right of the shell window Creak Linux - General 2 04-02-2004 04:00 PM


All times are GMT -5. The time now is 10:58 AM.

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