Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

Create permanent env variable

open Bash_profile file `code ~/.bash_profile` or `open -e ~/.bash_profile`
write your variable  ` export VAR_NAME='hello' `
save file and close then close terminal
reopen terminal and echo your variable to confirm `echo $VAR_NAME`
should say hello
Comment

PREVIOUS NEXT
Code Example
Shell :: get the latest from remote git 
Shell :: xdebug install 
Shell :: sed tab to space 
Shell :: drupal export db to backup 
Shell :: open cmd in current directory 
Shell :: docker compose up 
Shell :: git copy file from another branch 
Shell :: git choose branch to push 
Shell :: docker container network troubleshoot 
Shell :: redux installation 
Shell :: how to install msfconsole in ubuntu 
Shell :: uninstall node arch 
Shell :: insert text before cursor in vi 
Shell :: no shell command in vs code 
Shell :: git delete origin branch 
Shell :: gatsby plugin image 
Shell :: installing whatsapp 
Shell :: ubuntu move file 
Shell :: restart terminal without closing 
Shell :: kubernetes get persistent volumes 
Shell :: git set upstream always 
Shell :: remote add to github 
Shell :: astro with tailwind setup 
Shell :: debian 9 enable rc.local 
Shell :: git stage all 
Shell :: how to install visual studio code in kali 
Shell :: change linux user password 
Shell :: uninstall django ubuntu 
Shell :: static ip wsl2 
Shell :: rename a directory in git 
ADD CONTENT
Topic
Content
Source link
Name
9+4 =