path environment variable linux code example
Example 1: linux add to path
export PATH=$PATH:/place/with/the/file
Example 2: how to add a path variables in linux
export PATH=/usr/java/<JDK Directory>/bin:$PATH.
Example 3: add environment variable linux
vi ~/.bash_profile
Example 4: linux set environment variable
# Linux - Bash
# syntax
# export *<variable-name>=*<variable-value>;
# example
export ORACLE_SID='sales_database';
Example 5: add environment variable linux
source ~/.bash_profile