|
| |
|
|
 |
WORKING ENVIRONMENT CONFIGURATION
In UNIX operating system, commands are given by means of a shell. The shell is a type of program called an interpreter. On CASPUR’s machines, the shell in use is tcsh. The shell’s actions are influenced by the so-called environment variables. When the user logs into a CASPUR computer, the shell receives a default configuration that contains all the data necessary to accede to CASPUR’s resources, to run preinstalled software, to use queuing systems, etc.
The user can personalize his working environment by creating in his home directory the following files:
Every personal configuration should be defined in these files, and it is added to the general structure. For this reason, is useless and not recommended to repeat in the personal files definitions already included in CASPUR general configuration.
.cshrc and .alias files are executed every time a new shell is open (for example, when a new session or window is open, or when a shell script for submitting a job to a queue is executed). .login file is executed after log into the system. Configuration data must be specified according to these rules: .login has to contain all the commands to execute at login time, .cshrc has to contain all the commands that must be valid for each shell, interactive or not (e.g. path, man path, etc.). If inserted in .cshrc, terminal configurations can compromise the functioning of the queuing system. The .alias file is used to define alias commands.
To make immediately effective possible modifications of these files, it is necessary to enter the source command, specifying the modified file name as an argument (for example, source .alias). For further information, see the shell’s manual (man tcsh), the tcsh and zsh for pedestrians guide and the UNIX introductive guide. |
|
 |
|
|
|
 |