UNIX: show system variables

Published on Author admin

All UNIX-like operating systems such as FreeBSD, Redhat, CentOS, Debian allows you to set environment variables. This variables are used by system applications. To find the current values of all your environment variables and functions you can any shell you’d like: sh, zsh, bash, etc…

Below the list of system variables:

Shell builtin commands are commands that can be executed within the running shell’s process. Note that, in the case of csh(1) builtin commands, the command is executed in a subshell if it occurs as any component of a pipeline except the last.

Print out the environment

Set environment and execute command, or print environment