We relaunched the TWiki.org project with an expanded TWiki charter, and we invite you to participate! The TWiki.org Code of Conduct agreement took effect on 27 Oct 2008. We ask existing twiki.org users to opt-in. You need to opt-in to participate in the Blog, Codev, Plugins and TWiki webs. -- PeterThoeny - 27 Oct 2008
Tags:
create new tag
, view all tags
See BLT.

PATH: The environment variable that contains the paths which are searched for commands when the full path to a command is not specified.

Here is an example of adding a path to PATH:

  • export PATH=$PATH:/usr/local/bin/

For security reasons, it is recommended that you never include "." (the current directory) on the path. It is a very common way for crackers to get you to execute a hacked command.

Because "." is usually not on the path, to execute a program in the pwd the command must be prefixed with "./" -- otherwise you get the "Command not found" message (or execute the wrong command if there is another program with the same name somewhere on the path).

See:

Contributors

  • RandyKramer - 05 Feb 2002
  • <If you edit this page, add your name here, move this to the next line>
Topic revision: r3 - 07 Sep 2003 - 14:47:56 - AnitaLewis
 
TWIKI.NET
Copyright © 1999-2008 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback
See TWiki's New Look