Article View: aus.computers.linux
Article #56445What does linux use for a path
From: Mark Williamson
Date: Sat, 15 Mar 1997 00:00
Date: Sat, 15 Mar 1997 00:00
29 lines
1441 bytes
1441 bytes
Thanks to those who answer my last post via private mail. All I needed to do is add the path when typing on the command line.. e.g. /a.out. Now for my next question, what use or how can I set a certain dir like the path statment in dos, so that all I do is type the exicutable file name on the command line. Thanks Mark Williamson <mark@express.bbs.net.au> wrote in article <01bc310e$11b1cf20$3400a8c0@oldsys>... > 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?
Technical Details
Message-ID:
<01bc319d$85413180$3400a8c0@oldsys>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<01bc310e$11b1cf20$3400a8c0@oldsys>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: What does linux use for a path Date: 1997/03/15 Message-ID: <01bc319d$85413180$3400a8c0@oldsys> X-Deja-AN: 225820023 References: <01bc310e$11b1cf20$3400a8c0@oldsys> Organization: Express BBS Newsgroups: aus.computers.linux