You can customize your Qshell environment using three profile files. Each profile file is a shell script that can contain any Qshell command. See the Variables article for the complete list of supported environment variables.
Global profile file
If the file /etc/profile exists, qsh runs it in the current environment when you login. It is typically maintained by an administrator to set system-wide defaults for all users. This file should be secured by setting the public authority to read and execute.
Here is a sample /etc/profile file:
# Sample /etc/profile file export PATH=/usr/bin:Profile file
If the file .profile exists in the user's home directory, qsh runs it in the current environment when you login. It is used to customize your login environment.
Here is a sample .profile file.
# Sample .profile file export ENV=$HOME/.qshrc export PATH=$PATH:$HOME/binEnvironment file
If the file specified by the expansion of the ENV variable exists, qsh runs it in the current environment when starting an interactive shell. The environment file is typically used to set aliases, define functions, or set options for an interactive shell session.
Here is a sample environment file:
# Sample environment file PS1='$PWD'