LinuxQuestions.org
Help answer threads with 0 replies.
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 08-04-2003, 10:03 AM   #1
CloudDrakken
LQ Newbie
 
Registered: Aug 2003
Location: waht :D?
Distribution: Redhat 9
Posts: 7

Rep: Reputation: 0
how to install a .sh


sorry about the lack of intelligence in posting this but I searched the forum and couldn't find an answer to my question ^


I'm not sure how to install a .sh file


also: I have a problem with wine/wineX, for some reason there is no configuration file and I can't run "winesetup" because it doesn't exist

Any response would be quite helpful, thanks
 
Old 08-04-2003, 10:06 AM   #2
andrew001
Member
 
Registered: Nov 2002
Distribution: Slackware 9.0
Posts: 321

Rep: Reputation: 30
To run a '.sh' file make sure its executeable with:

chmod +x filename.sh

And you can then run it by just typing the file name or doing

/bin/sh filename.sh

~Andrew
 
Old 08-04-2003, 10:10 AM   #3
CloudDrakken
LQ Newbie
 
Registered: Aug 2003
Location: waht :D?
Distribution: Redhat 9
Posts: 7

Original Poster
Rep: Reputation: 0
do I have to cd to the dir I put it in, like if I move the file to /usr/bin do I cd /usr/bin and then etc?
 
Old 08-04-2003, 10:12 AM   #4
angelrod
Member
 
Registered: Oct 2002
Location: Mexico
Distribution: RedHat 9.0 and SuSE 8.1
Posts: 229

Rep: Reputation: 30
Just cd to the directory where the file is and type:

./filename.sh

P:S. As Andrew said, you have to verify that the file is executable first.
 
Old 08-04-2003, 10:20 AM   #5
CloudDrakken
LQ Newbie
 
Registered: Aug 2003
Location: waht :D?
Distribution: Redhat 9
Posts: 7

Original Poster
Rep: Reputation: 0
lately I've been downloading files on my windows desktop and burning them to cd for my linux laptop because linux won't detect my modem
 
  


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
fc3 install doesnt install grub properly onto sata drive sabo Linux - Newbie 4 02-03-2007 05:04 PM
make install does not install daemons (clamd snortd). Is this a feature of tarball? Emmanuel_uk Linux - Newbie 3 11-15-2005 02:29 AM
Error: Unable to boot /install/2.6/linux when starting Etch Install BuckRogers01 Debian 4 08-06-2005 07:40 PM
How do I re-install an operatingsystem? Corrupted install. Yast wont load. URGENT.thx CrewXp SUSE / openSUSE 5 05-09-2005 01:07 AM
Ok, dumb question. If I install a Mandrake kernel RPM, where does it install to? Kramer Linux - General 6 01-13-2004 10:39 PM

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

All times are GMT -5. The time now is 12:08 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