Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

export variable bash

$ export MYVAR=1729
$ echo $MYVAR
1729
Comment

export environment variable from bash script

# Use source or . instead of bash
source script.sh
# OR
. script.sh
Comment

PREVIOUS NEXT
Code Example
Shell :: How to Change Your MySQL/phpmyadmin Password in XAMPP 
Shell :: bash move file 
Shell :: icon theme and widget ubuntu 
Shell :: how to install react native 
Shell :: git flow new feature branch 
Shell :: how to install choclatey using command prompt 
Shell :: create usb install windows 10 on ubuntu 
Shell :: command not found: shopify 
Shell :: edit path linux 
Shell :: stop tracking git pattern 
Shell :: .gitignore 
Shell :: git template fetch 
Shell :: push local branch upstream 
Shell :: create directory linux 
Shell :: import db drush 
Shell :: bedrock linux 
Shell :: undercover mode kali 
Shell :: install docker desktop on server 2019 
Shell :: how to see staged files in git 
Shell :: git alias - multiple commands 
Shell :: docker getting-started 
Shell :: bash command to clean up log files 
Shell :: cp all files except one 
Shell :: how to generate ssh key 
Shell :: pm2 process disappears after reboot 
Shell :: remove all files matching a pattern in subdirectories 
Shell :: sublime text editor download for linux 
Shell :: how to copy one local machine to server through ssh 
Shell :: how to remove all files in a directory matching a regex pattern shell 
Shell :: spotify combo chercker 
ADD CONTENT
Topic
Content
Source link
Name
9+7 =