Horje
aexprot bash varible to another script Code Example
aexprot bash varible to another script
script 1 #############
rr=`echo $directory_rr | awk '{split($1,a,"/"); print a[2]}'`
 . /location/profiles.sh 

#this "." /location/profiles.sh is very important for sourcing


script 2#################

grep Etot location/md.out | awk -v env_var="$rr" do something  > mm_prof_$rr






Shell

Related
linux get ownership of own user directory folder ubuntu chown operation not permitted Code Example linux get ownership of own user directory folder ubuntu chown operation not permitted Code Example
terminal not opening ubuntu Code Example terminal not opening ubuntu Code Example
how to disable suspend in ubuntu 20.04 Code Example how to disable suspend in ubuntu 20.04 Code Example
protect chrome passwords with a password in ubuntu Code Example protect chrome passwords with a password in ubuntu Code Example
git pull in another branch Code Example git pull in another branch Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
9