bash - enviroment variable is in ~/bash_profile but wont show up in printenv -


i trying add enviroment variable android_home so:

nano ~/.bash_profile 

then add new line content:

android_home="~/library/android/sdk" 

then proceed save file , check printenv list enviroment variables , android_home doesn't show up. why's that?


Comments

Popular posts from this blog

iis - ASP.Net Core CreatedAtAction in HttpPost action returns 201 but entire request ends with 500 -

gcc - Neither ld wrap nor LD_PRELOAD working to intercept system call -

ssh - Vagrant Windows - ssh_exchange_identification: read: Connection reset by peer -