printenv [variable]Arguments explained
- Options adjust output or behavior.
- Arguments name the files, services, hosts, or values the command should work with.
Common examples
printenvPrints the current environment.
printenv PATHPrints only the PATH variable.
| Field | Details |
|---|---|
| Command | printenv |
| Category | Shell and Environment |
| Primary use | Prints environment variables. |
| Syntax | printenv [variable] |