Name

printenv — stdin  stdout  - datei  -- opt  --help  --version

Synopsis

printenv [umgebungsvariablen]

Der printenv-Befehl gibt alle Umgebungsvariablen aus, die Ihrer Shell bekannt sind, sowie deren Werte:

$ printenv
HOME=/home/smith
MAIL=/var/spool/mail/smith
NAME=Sandy Smith
SHELL=/bin/bash
...

Oder nur angegebene Variablen:

$ printenv HOME SHELL
/home/smith
/bin/bash

Get Linux kurz & gut, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.