linux set environment variable

Shell
# Linux - Bash 

# syntax 
# export *<variable-name>=*<variable-value>;

# example 
export ORACLE_SID='sales_database';# syntax 
# setenv SHELL *<filepath-of-file-containing-environment-settings>

# example
setenv SHELL /usr/bin/bash
Source

Also in Shell: