Solved

Running a program in linux

Posted on 2006-11-30
2
202 Views
Last Modified: 2012-05-05
What is the command to run a program in linux..I have a program program that I can run at dos prompt by just typing
myprogram.exe after directing to the directory of the application..what is the equivalent command in linux operating system?

Thank you.
0
Comment
Question by:Aiysha
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 
LVL 84

Expert Comment

by:ozo
ID: 18047146
if the program is executable, and in your $PATH, you can just type the name of the program
if it is not in your $PATH, you would need to type the a path name to the program so the shell knows where to find it
0
 
LVL 84

Accepted Solution

by:
ozo earned 500 total points
ID: 18047191
If you want to run files in your current working directory, you can type
./programname
or if you want to do it without the . you can put . in your $PATH,
but if you do, you should be careful that the . is last in your $PATH so that you don't accidentally
run a program out of . when you were expecting to run a program with the same name from a standard system path
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever been frustrated by having to click seven times in order to retrieve a small bit of information from the web, always the same seven clicks, scrolling down and down until you reach your target? When you know the benefits of the command l…
The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question