Table of Contents

Currently viewing version: 0.1.1.0

66-tools

66-getenv

66-getenv gets and displays the environment variables of a process name.

Interface

    66-getenv [ -h ] [ -x ] [ -d delim ] process

Exit codes

Options

Usage example

    66-getenv -x jwm
    66-getenv "ck-launch-session"

Note

The file /proc/<pid>/environ contains the initial environment that was set when the currently executing program was started via execve(2). If, after an execve(2), the process modifies its environment (e.g., by calling functions such as putenv(3) or modifying the environ(7) variable directly), this file will not reflect those changes—see proc(5) for futher informations.