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>
Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2003-09-07 - AnitaLewis
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by PerlCopyright 1999-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding WikiLearn? WebBottomBar">Send feedback
See TWiki's New Look