Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

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


Comment

PREVIOUS NEXT
Code Example
Shell :: install rethinkdb ubuntu 
Shell :: outil de programmation socket sur ubuntu 
Shell :: Error: error modifying EC2 Volume "vol-04e2b1a2d03860650": InvalidParameterValue: New size cannot be smaller than existing size 
Shell :: E: No se pudo abrir el fichero de bloqueo «/var/cache/apt/archives/lock» 
Shell :: eb client with different account 
Shell :: bios update dual boot no option to select os 
Shell :: autoremove kali linux 
Shell :: Another linux info 
Shell :: git unable to track file rename 
Shell :: windows virtualenv pip numpy problem 
Shell :: start up chronyd 
Shell :: github fork subdirectory 
Shell :: how to set path openssl@1.1 on mac zsh 
Shell :: last_ack 
Shell :: display folder of path linux bashrc 
Shell :: github timeago 
Shell :: sed subgroup pattern replace 
Shell :: how to set chmod 777 to folder 
Shell :: put char at beginning of multiple lines vim 
Shell :: youtube-dl Video Selection:: 
Shell :: How To Configure WiFi on Raspberry Pi - NAYCode.com 
Shell :: change php version devilbox fish function 
Shell :: bcdedit refind windows 
Shell :: Delete the executing batch file 
Shell :: install homebrew on godaddy 
Shell :: bucle infinito bash 
Shell :: unable to install draw-shape-reactjs 
Shell :: admin passwort powershell script 
Shell :: vi is my terminal froze? 
Shell :: end task windows linux 
ADD CONTENT
Topic
Content
Source link
Name
8+5 =