Environmental variables give users the ability to set up the command line to suit their own needs.
If you enter a command like ls in the shell, the shell knows that you want to call the /bin/ls program. Bash knows where on the filesystem to look for executables, so there is no need to type in the full path. This path is defined in what is known as an environmental variable. Variables of this kind are also used to modify the appearance of the shell prompt, set the time zone and the user’s home directory, and other things.
Watch 19 talks from the ApacheCon US in New Orleans from the convenience of your home or office. Topics are: Scaling Apache 2.x in all dimensions, Securing Communications with your Apache HTTP Server, Scripting your Java Application with BSF 3.0 and much more.
Comments