How are programs executed in Ubuntu?

David Fletcher dave at thefletchers.net
Fri Jan 29 01:55:23 UTC 2016


On Thu, 2016-01-28 at 19:39 -0600, Jim Byrnes wrote:
> Running Ubuntu 14.04.
> 
> I recently started to learn the programing language livecode. I have 
> completed a couple of tutorials and got them to run in the ide.  Then I 
> compiled them as standalone apps. Now I would like to launch the 
> standalone version.
> 

If you make a folder in your home directory called bin (NOT .bin just
bin) end shift your compiled/linked executable into there, it should run
from the command line. Works for me with progs I've written in C++ and
bash scripts.

You can be in the same directory as the program executable and
type ./executable

Otherwise Ubuntu only executes anything listed in PATH

try
echo $PATH
to see what's in there.

Hope I've got all that correct.

dave






More information about the ubuntu-users mailing list