Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

linux set environment variable

# Linux - Bash 

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

# example 
export ORACLE_SID='sales_database';
Comment

linux set environment

# syntax 
# setenv SHELL *<filepath-of-file-containing-environment-settings>

# example
setenv SHELL /usr/bin/bash
Comment

how to set environment variables in linux

export JAVA_HOME=/opt/openjdk11
Comment

how to set environment variables in linux

vi ~/.bash_profile
Comment

PREVIOUS NEXT
Code Example
Shell :: Git - fetch changes from remote repo for current branch 
Shell :: bash if file content equals 
Shell :: gcc info linux 
Shell :: check linux disk ussed in wsl wwindow 
Shell :: how to expose external ip in kubernetes 
Shell :: compare repositories github 
Shell :: ruby install on fedora 
Shell :: bash memory 
Shell :: ppsspp debian 10 
Shell :: mkdir -p option 
Shell :: sed from match to end of file 
Shell :: git clone with token 
Shell :: how to install imsomnia on manjaro linux 
Shell :: poetry add library 
Shell :: jq filter array 
Shell :: Remove a file from a Git repository without deleting it from the local 
Shell :: how to change mac address kali linux 
Shell :: how to download virtualbox on kali linux 
Shell :: git clone with different folder name 
Shell :: linux find files older than 15 minutes 
Shell :: influxdb version 
Shell :: add co author git 
Shell :: adding this directory to path mac 
Shell :: how to ignore modified file in git 
Shell :: git rebase feature branch 
Shell :: unable to delete c2dd1984ad5b (must be forced) - image is being used by stopped container 
Shell :: bash get files older than 
Shell :: poetry delete environment 
Shell :: move directory with files linux 
Shell :: ansible playbook omit tag 
ADD CONTENT
Topic
Content
Source link
Name
7+5 =