Linux Tutorial Environment Variables. In this lesson, you will learn about environment variables.
You have already been introduced to environment variables and have put them to good use. To
recap, an environment variable is a storage location that has a name and a value. They often
effect the way programs behave. For example, you learned how to inform various programs about
your preferred editor by defining the $EDITOR environment variable.
Common Environment Variables
EDITOR The program to run to perform edits.
HOME The Home directory of the user.
LOGNAME The login name of the user.
MAIL The location of the user's local inbox.
OLDPWD The previous working directory.
PATH A colon separated list of directories to search for commands.
PAGER This program may be called to view a file.
PS1 The primary prompt string.
PWD The present working directory.
USER The username of the user.
Tags: Linux Tutorial Environment Variables, introduction to linux, maloco, linux commands, linux terminal, linux command line, linux for beginners, GNU/Linux (Operating System), instructional video, linux server, linux tutorial 2017, technology, software, redhat, ubuntu, unix, linux power user