Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

bash get environment variable

Just type next command to list all environments varialbes in terminal:
printenv
Comment

bash set environment variable

# Linux - Bash

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

# example 
export ORACLE_SID='sales_database';
Comment

PREVIOUS NEXT
Code Example
Shell :: upload folder with gitbash 
Shell :: sh or bash validate if file no exist 
Shell :: wslconfig example 
Shell :: git push remote 
Shell :: git merge with message 
Shell :: Install Strimio on ubuntu 
Shell :: PowerShell read CSV file line by line 
Shell :: bash case statement 
Shell :: aws cli create ecr repository if not exists 
Shell :: mkdir rm folder 
Shell :: download brave linux 
Shell :: post with httpie 
Shell :: nodejs installation on ubuntu 
Shell :: generate new ssh key 
Shell :: push particular commit in git 
Shell :: install nix macos 
Shell :: kubernetes pod stuck in terminating 
Shell :: how to ssh in termux 
Shell :: check connected wifi details on kali 
Shell :: mysql2 install error ruby 
Shell :: how to avoid nginx not found 404 error ubuntu react app 
Shell :: how to kill all emulator 
Shell :: socket install 
Shell :: how to install certbot on ubuntu 
Shell :: linux command linux distribution 
Shell :: force delete folder linux 
Shell :: dotnet test 
Shell :: brew check installed version 
Shell :: nano go to line 
Shell :: gui for ubuntu server 
ADD CONTENT
Topic
Content
Source link
Name
7+6 =