Changing environment variables (env, csh, bash)
Last modified on July 24, 2026 • 1 min read • 131 wordsI just install BackupPC.
LANG=en_US To show all environment variables, just enterenvat the command line.If you want to set an environment variable, you need to know what shell you are using. Many instructions still assume that you are using csh, but I guess it’s maybe only 1% of Linux users that use it. E.g. in the bash shell use the following command to set the environment variable DESTDIR to /usr/localexport DESTDIR=/usr/localwhile in csh typeDESTDIR = /usr/local