TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: MARTIN GREGORIE
from: THEO
date: 2017-02-14 08:40:00
subject: Re: New guy with a questi

Martin Gregorie  wrote:
> should be included in $PATH by default and all properly written programs
> should search for configuration files etc. by looking in
>
>  .:/usr/local/bin:/usr/bin
>
> in that order.

Point of order: it's generally not a good idea to have '.' on your path,
because then you risk your system tools being clobbered by ones in the
current directory.  For instance, you download a tarball, unpack, cd into it
and type 'ls'.  If the tarball contains a malicious program called 'ls' then
you've just executed it.

Prefix program names with './' if you want to run ones in the current
directory.

Theo

--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.