Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

executables

Posted on 2002-04-26
1
Medium Priority
?
262 Views
Last Modified: 2011-09-20
how do i run the executables, sorry, but under windows i can type [filename] on the command prompt but on the shell can i do the same thing

$ [filename]

after compilation.
0
Comment
Question by:ogom
1 Comment
 
LVL 4

Accepted Solution

by:
IainHere earned 150 total points
ID: 6970832
yes, but only if the have the current working directory in your PATH environment setting.

$ ./[filename]

and it says "look in the current directory".  That will work.  Another problem might be that the file is not marked as being executable (Linux does not use *.exe for this purpose).  If you're still having problems, then this can be fixed by

$ man chmod
to find out what you're doing, then
$ chmod a+x ./[filename]

To add the current working directory to your path, try
PATH=.:$PATH


0

Featured Post

Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.

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…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…

783 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