Dot files are configuration files that perform such functions as creating aliases for shell commands, setting environment variables, geometry of X applications etc.Their file names start with a dot (.).
These files are simple text files and can be created or modified with any Unix text editor.
The .profile file sets up a default working environment.
The commands stored in the .profile file are called environment variables, since they establish a working environment.
Your working environment is determined by the content of .profile and .rc files
For example, the following line sets the PATH environment variable, which indicates the directories where the shell needs to search for programs that you might execute:
export PATH=/bin:/usr/bin:/usr/local/bin:/usr/openwin/bin
See Also >> .rc files
These files are simple text files and can be created or modified with any Unix text editor.
The .profile file sets up a default working environment.
The commands stored in the .profile file are called environment variables, since they establish a working environment.
Your working environment is determined by the content of .profile and .rc files
For example, the following line sets the PATH environment variable, which indicates the directories where the shell needs to search for programs that you might execute:
export PATH=/bin:/usr/bin:/usr/local/bin:/usr/openwin/bin
See Also >> .rc files
No comments:
Post a Comment