🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: aus.computers.linux
Article #56444

How does one exicute s file inside of Linux?

#56444
From: Mark Williamson
Date: Sat, 15 Mar 1997 00:00
23 lines
1348 bytes
Hi There,

I have been tring to work out how to program in C++ for Linux..   I manage
to write some c++ code call welcome.C via using a editor called emacs... 
Then I compiled the code using the g++ command e.g. g++ wlcome.C, it seemed
to complied O.K. and created a file call a.out..   Now I am new to linux
but if I was to run a file say something like a.exe, from DOS, all I would
do is go to the dir where the file was and type the command "a", and the
file would run..

How would one setup linux so that the file a.out would run from a certain
dir?

Thanks

---------------------------------------------------------
Mark Williamson                  mark@express.bbs.net.au
Sysop of Express BBS (Melbourne, Australia) 
An Excalibur BBS. For Internet access, drivers, shareware, 
online games, game hints, editors, and cheats.
BBS Dial (03) 9782-5723    http://www.express.bbs.net.au/
---------------------------------------------------------
Technical Details
Message-ID: <01bc310e$11b1cf20$3400a8c0@oldsys>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 102983,a98b80d502683bf9
X-Google-Attributes: gid102983,public
From: "Mark Williamson" <mark@express.bbs.net.au>
Subject: How does one exicute s file inside of Linux?
Date: 1997/03/15
Message-ID: <01bc310e$11b1cf20$3400a8c0@oldsys>
X-Deja-AN: 225755277
Organization: Express BBS
Newsgroups: aus.computers.linux