LinuxQuestions.org
Review your favorite Linux distribution.
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 02-03-2006, 12:37 AM   #1
thecheat
LQ Newbie
 
Registered: Jan 2006
Posts: 5

Rep: Reputation: 0
how do i run .sh files?


I finally got linux red hat 9 running, but I am looking to install video drivers and part of the process involves me running an .sh file. It says something about running it from the command prompt but I can't find where to get to the prompt anywhere!
 
Old 02-03-2006, 12:41 AM   #2
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
Look in your menu for something like 'console','terminal','eterm','aterm' etc

Once open, type 'ls' and see if the file you downloaded is there. If not, you will have to 'cd' to the directory it is in. You will also have to be root to install drivers (try 'su'). So now just type 'sh <name of file>.sh' or more succinctly './<name of file>.sh'
 
Old 02-03-2006, 12:48 AM   #3
sohny
Member
 
Registered: Aug 2004
Location: bangalore
Distribution: Redhat,Ubuntu
Posts: 64

Rep: Reputation: 15
hai

in main menu goto "system tools",there click terminal.

at the prompt cd to the directory wer u have the drivers
then type 'ls'

if u find the .sh script there

type

./<filename>.sh

this will run ur .sh script
 
  


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
How do I run those .run files? IanPappas Linux - Software 2 09-29-2005 05:18 PM
Can't run .pl files Nosek Linux - Newbie 1 10-13-2004 01:31 PM
How Do I Run .Sh Files?? 311Sam Linux - Software 10 11-21-2003 02:18 AM
.run files? Neostar Linux - Software 2 06-17-2003 02:13 AM
How do you decompress files, or run files such as the Netscape 6 Uninstaller in RH7.2 oudent Linux - Newbie 1 11-19-2001 12:11 AM

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

All times are GMT -5. The time now is 02:47 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration