Re: Probably a bad set-up but which one?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Mon, Sep 29, 2008 at 7:32 PM, fred smith
<fredex@xxxxxxxxxxxxxxxxxxxxxx> wrote:
>
> two things:
> 1. there's already a program named test, which displays no output,
> it merely has an exit status.

And, in general, it is a poor idea showing little imagination to name
a test program "test."

> 2. for a program in your current directory, run it with a preceding "./",
> e.g., "./test"--because "." is not in the path (and shouldn't be).

I rather like having . in my path, and up front.  However, programs
should reflect something of their content.  The Hello World program
could much more recognizably (and future-referentially) named "hello."

It's one of those mornings....

mhr
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux