Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.misc > #1509

Re: Why these program need './'?

From Feranija <feranija@net...>
Newsgroups comp.os.linux.misc
Subject Re: Why these program need './'?
Date 2011-06-29 00:47 -0700
Organization A noiseless patient Spider
Message-ID <iuela3$1hd$1@dont-email.me> (permalink)
References <9860fe23-204a-4c07-9d2e-e3479d096a3c@p13g2000yqh.googlegroups.com>

Show all headers | View raw


On 12.05.2011 19:56, fl wrote:
> Hi,
> I am running a Linux C compiled program for my project. The program
> was in a script named as 'run0', see below. In the same directory,
> there is another script file named: 'ex0'. In 'ex0', a C compiled
> program named exec0.
>
> When I run './run0' at the prompt, it feedbacks:
>
> ./run0: line 10: ex0 command not found.
>
> I see that all the command exec needs './', but the provided script
> without a single './' Because there are a lot of files called in the
> script, I want to know how to make the Linux OPENSUSE run directly.
>
>
> BTW, I have run:
> $PATH=$PATH:.
>
> It seems no use at all.
>
> Please help me on how to run scripts (two levels in my routines)
> without './'
>
> Thanks.


Put those executables in /usr/local/bin
Libraries if they are any, in /usr/local/lib



Back to comp.os.linux.misc | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Why these program need './'? fl <rxjwg98@gmail.com> - 2011-05-12 19:56 -0700
  Re: Why these program need './'? "Chris F.A. Johnson" <cfajohnson@gmail.com> - 2011-05-12 23:11 -0400
    Re: Why these program need './'? Robert Riches <spamtrap42@jacob21819.net> - 2011-05-13 04:23 +0000
      Re: Why these program need './'? gazelle@shell.xmission.com (Kenny McCormack) - 2011-05-13 10:29 +0000
      Re: Why these program need './'? David Brown <david@westcontrol.removethisbit.com> - 2011-05-13 13:02 +0200
        Re: Why these program need './'? Todd Carnes <toddcarnes@gmail.com> - 2011-06-26 14:35 +0000
          Re: Why these program need './'? despen@verizon.net - 2011-06-26 19:10 -0400
          Re: Why these program need './'? unruh <unruh@wormhole.physics.ubc.ca> - 2011-06-27 09:52 +0000
            Re: Why these program need './'? blmblm@myrealbox.com <blmblm.myrealbox@gmail.com> - 2011-06-27 21:42 +0000
              Re: Why these program need './'? The Natural Philosopher <tnp@invalid.invalid> - 2011-06-27 22:59 +0100
              Re: Why these program need './'? David Brown <david@westcontrol.removethisbit.com> - 2011-06-28 08:46 +0200
                Re: Why these program need './'? blmblm@myrealbox.com <blmblm.myrealbox@gmail.com> - 2011-06-28 15:50 +0000
              Re: Why these program need './'? Richard Kettlewell <rjk@greenend.org.uk> - 2011-06-28 10:02 +0100
                Re: Why these program need './'? Jean-David Beyer <jeandavid8@verizon.net> - 2011-06-28 09:00 -0400
                Re: Why these program need './'? Grant Edwards <invalid@invalid.invalid> - 2011-06-28 14:21 +0000
                Re: Why these program need './'? blmblm@myrealbox.com <blmblm.myrealbox@gmail.com> - 2011-06-28 15:51 +0000
              Re: Why these program need './'? "Chris F.A. Johnson" <cfajohnson@gmail.com> - 2011-06-28 18:19 -0400
                Re: Why these program need './'? blmblm@myrealbox.com <blmblm.myrealbox@gmail.com> - 2011-06-29 19:54 +0000
  Re: Why these program need './'? Feranija <feranija@net...> - 2011-06-29 00:47 -0700

csiph-web