LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how do i run .sh files? (https://www.linuxquestions.org/questions/linux-newbie-8/how-do-i-run-sh-files-411132/)

thecheat 02-03-2006 12:37 AM

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!

bulliver 02-03-2006 12:41 AM

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'

sohny 02-03-2006 12:48 AM

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


All times are GMT -5. The time now is 10:47 PM.