LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
Search this Thread
Old 07-07-2004, 03:05 AM   #1
tripat
LQ Newbie
 
Registered: Jul 2004
Location: Ludhiana, India
Distribution: RedHat
Posts: 1

Rep: Reputation: 0
running shell script: command not found


Hi,

I am trying to run a shell script from a third party which is very reliable and they say to run install.sh script, but when I try to run this:

prompt> ./install.sh
or
prompt> ./install
or
prompt> .install

It says command no found.

Pls help.
 
Old 07-07-2004, 06:50 AM   #2
ranger_nemo
Senior Member
 
Registered: Feb 2003
Location: N'rn WI -- USA
Distribution: Kubuntu 8.04, ClarkConnect 4
Posts: 1,142

Rep: Reputation: 47
The script might not have execute permission... "chmod u+x install.sh". Then, "./install.sh" should, as long as you are in the directory where the script is.
 
Old 07-07-2004, 09:04 PM   #3
shorty_boy
Member
 
Registered: Oct 2003
Location: Lemoore, Ca
Distribution: Debian Testing
Posts: 88

Rep: Reputation: 16
try this

well if you are in the right directory and "./install.sh" does not work, you may have to type "sh install.sh". if that doesn't work then try "sh ./install.sh", do ya get the concept!?
 
Old 04-14-2010, 01:21 PM   #4
studiogrynn
LQ Newbie
 
Registered: Feb 2009
Posts: 8

Rep: Reputation: 7
Cool You ROCK!

Quote:
Originally Posted by shorty_boy View Post
well if you are in the right directory and "./install.sh" does not work, you may have to type "sh install.sh". if that doesn't work then try "sh ./install.sh", do ya get the concept!?
Thank you!
 
  


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
Running a shell script remotely via 'ssh <hostname> <command>' davee Linux - General 4 10-09-2005 01:38 AM
Running shell script within a C or C++ program Quantum0726 Programming 2 06-15-2005 09:14 PM
Command not found error - difference in shell? aw_wolfe Linux - Newbie 6 04-20-2005 04:49 PM
command not found (My shell script) Swift&Smart Linux - Software 3 05-15-2004 11:14 PM
c/c++ running a shell script? thermalpants Programming 3 05-12-2002 11:41 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration