Chapter 7: Treading a Righteous PATH

  • Chris F. A. Johnson
  • Jayant Varma

Abstract

The variable is a colon-separated list of directories that your shell will search for a command. It usually includes /bin, /usr/bin, and /usr/local/bin. If you are root, it will also include /sbin and /usr/sbin. There may be other directories, and there may even be a dot, which puts your current directory in the PATH. For example, a typical user’s $PATH looks like this:

Keywords

Current Directory Path Variable Statement Print Main Shell Empty Field 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Copyright information

© Chris F. A. Johnson and Jayant Varma 2015

Authors and Affiliations

  • Chris F. A. Johnson
    • 1
  • Jayant Varma
    • 1
  1. 1.OntarioCanada

Personalised recommendations