Share your knowledge at the LQ Wiki.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 12-30-2001, 04:04 AM   #1
LQ Newbie
Registered: Dec 2001
Posts: 2

Rep: Reputation: 0
How do I run my executable??

First I'll start out by saying that I'm new to Red Hat Linux 7.2. What I cant figure out is how to run my new executable file from a console prompt after compiling it. It's just a simple program that displays some text on a screen. Any help is much appreciated!!! :-)
Old 12-30-2001, 09:46 AM   #2
Registered: Oct 2001
Distribution: MD81 RH71
Posts: 555

Rep: Reputation: 30
well, where does this file come from? is it compiled C code or what? if it IS executable and in your current directory, just use ./programname

use 'man chmod' to find out about file rights and such like.
Old 12-30-2001, 04:22 PM   #3
LQ Newbie
Registered: Dec 2001
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks for the reply bluecadet... works great



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 to run executable files? Kelley Linux - Newbie 34 07-06-2017 09:31 PM
How to run an executable from browser ??? dileepkk Programming 2 08-22-2004 03:13 AM
an executable that does not run jgoggel Programming 2 07-22-2004 07:54 PM
How to run programs using executable name ravykanth Linux - Newbie 1 10-05-2003 11:45 PM
run executable files ZeRo69er Linux - Software 4 08-07-2003 02:26 AM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 03:43 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration