LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 03-09-2005, 09:41 AM   #1
Dibbs
LQ Newbie
 
Registered: Mar 2005
Posts: 15

Rep: Reputation: 0
.sh


I'm using RedHat 9.0 and am trying to install a program that has .gz.sh How do I go about installing that? I'm not even really sure what .sh is.
 
Old 03-09-2005, 10:36 AM   #2
ksgill
Senior Member
 
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Ubuntu Jaunty (9.04)
Posts: 1,044

Rep: Reputation: 45
.sh is a shell script, try running that like this:

./file.gz.sh
or
sh /path/to/file.gz.sh
 
Old 03-09-2005, 10:42 AM   #3
Dibbs
LQ Newbie
 
Registered: Mar 2005
Posts: 15

Original Poster
Rep: Reputation: 0
ok, well i tried doing the ./linuxq3ademo-1.11-6.x86.gz.sh and it gave me "permission denied"
 
Old 03-09-2005, 10:45 AM   #4
ksgill
Senior Member
 
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Ubuntu Jaunty (9.04)
Posts: 1,044

Rep: Reputation: 45
Do this as root and then try both of those commands:

chmod +x linuxq3ademo-1.11-6.x86.gz.sh
 
Old 03-09-2005, 10:46 AM   #5
merchtemeagle
Member
 
Registered: Oct 2004
Location: Belgium
Distribution: Slackware 13.37
Posts: 512

Rep: Reputation: 31
Set the permissions of the file so you can execute it.
Something like:

chmod u+x ./file.gz.sh

if you are the owner of the file. You can see the permissions bij executing

ls -l ./file.gz.sh
 
Old 03-09-2005, 10:48 AM   #6
Dibbs
LQ Newbie
 
Registered: Mar 2005
Posts: 15

Original Poster
Rep: Reputation: 0
it worked, thanks a lot for the quick help
 
Old 03-09-2005, 10:48 AM   #7
ksgill
Senior Member
 
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Ubuntu Jaunty (9.04)
Posts: 1,044

Rep: Reputation: 45
You are welcome
 
  


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



LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

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
Open Source Consulting | Domain Registration