Menu

Outputting Specific Environment Variables

Iain Miller

Outputting Specific Environment Variables

If you want to make sure that specific environment variables are printed to the output file then this can be done on three levels by adding the (case sensitive) name of the variable to a .pmtmrc file with one variable name per line. The .pmtmrc files can be located in:

  • /etc
    • for recording variables on a system level
  • $HOME
    • for recording variables on a user level
  • $PWD
    • for recording variables on a job level. $PWD is generally the working directory.

Related

Wiki: PMTM

MongoDB Logo MongoDB