env

Aus Mikiwiki
Zur Navigation springen Zur Suche springen

Der Shell-Befehl env zeigt eine vollständige Liste aller Umgebungsvariablen der Bourne Again Shell.

Verwendung

Anzeige alle Umgebungsvariablen der aktuellen Shell in alphabetisch sortierter Reihenfolge.

$ env
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-VtaoKvzEf7,guid=f9a63e32ea0f8109665c0d844ddf41f4
DEFAULTS_PATH=/usr/share/gconf/gnome.default.path
DESKTOP_AUTOSTART_ID=1054dc608642423ee6130647704544779700000010610004
DESKTOP_SESSION=gnome
DISPLAY=:0.0
EDITOR=vi
GDM_KEYBOARD_LAYOUT=ch
GDM_LANG=de_CH.utf8
GDMSESSION=gnome
GNOME_DESKTOP_SESSION_ID=this-is-deprecated
GNOME_KEYRING_CONTROL=/tmp/keyring-LBz0md
GTK_MODULES=canberra-gtk-module
HISTCONTROL=ignoredups:ignorespace
HISTSIZE=1000
HOME=/home/abc
LANG=de_CH.utf8
LESSCLOSE=/usr/bin/lesspipe %s %s
LESSOPEN=| /usr/bin/lesspipe %s
LOGNAME=abc
LS_COLORS=rs=0:di=01;34:ln=01;36:hl=44;37:pi=40; ...
MANDATORY_PATH=/usr/share/gconf/gnome.mandatory.path
OLDPWD=/home/abc
ORBIT_SOCKETDIR=/tmp/orbit-abc
PATH=/home/abc/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
PWD=/home/abc/bin
SESSION_MANAGER=local/kanzler:@/tmp/.ICE-unix/1061,unix/kanzler:/tmp/.ICE-unix/1061
SHELL=/bin/bash
SHLVL=1
SPEECHD_PORT=7560
SSH_AGENT_PID=1109
SSH_AUTH_SOCK=/tmp/keyring-LBz0md/ssh
TERM=xterm
USER=abc
USERNAME=abc
_=/usr/bin/env
WINDOWID=18874402
XAUTHORITY=/var/run/gdm/auth-for-abc-fm3ogO/database
XDG_CONFIG_DIRS=/etc/xdg/xdg-gnome:/etc/xdg
XDG_DATA_DIRS=/usr/share/gnome:/usr/local/share/:/usr/share/
XDG_SESSION_COOKIE=55d405892d49f8abda63de1d4cb74103-1306887044.189519-939165658
XTERM_LOCALE=de_CH.utf8
XTERM_SHELL=/bin/bash
XTERM_VERSION=XTerm(256)