LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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-31-2004, 11:07 PM   #1
PieEater
LQ Newbie
 
Registered: Aug 2004
Distribution: Fedora Core 2
Posts: 4

Rep: Reputation: 0
Run some thing in terminal


Very new to linux, so here is my question. How do I run a program in terminal/command. I'm trying to run check.sh so I can download the correct drivers for my radeon 9500.
thanks, brad

and I'm running fedora core 1
 
Old 08-31-2004, 11:12 PM   #2
bruno buys
Senior Member
 
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,509

Rep: Reputation: 46
To run a program in terminal, you should just type its name. If its in your path, it will load. If it isn't you must type the entire path to the executable.

You can find program by doing

whereis name-of-the-program

and you will see the entire path.


To run a script (check.sh) you can do

./check.sh

But first make sure this script has exec permissions. If it doesn't, set it.

Last edited by bruno buys; 08-31-2004 at 11:14 PM.
 
  


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
Is there a terminal command that I can run that will........... ludwig W Linux - Networking 20 11-28-2005 03:59 PM
How to run MP3 file thru Terminal in K.D.E or Terminal itz2000 Linux - Newbie 5 08-04-2005 09:49 PM
How to run a program on another terminal SharpyWarpy Linux - General 2 02-10-2005 02:09 PM
Why can't I run files in terminal? Stryks Linux - Newbie 3 10-14-2004 08:11 AM
What version of Red Hat will this thing run? Bigun Linux - General 9 11-02-2002 11:08 AM


All times are GMT -5. The time now is 06:36 AM.

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