Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

source script path

mention these two line inside your main script, 

SCRIPT=`realpath $0`
SCRITPATH=`dirname $SCRIPT`

other script should be in the same folder

to use them,

bash $SCRITPATH/your_sub_script.sh (this line should be inside main script)
Comment

PREVIOUS NEXT
Code Example
Shell :: shell -eq 
Shell :: Check for command’s result 
Shell :: Substring (position, length) 
Shell :: unrar into directory 
Shell :: install gem globally windows 
Shell :: bash print characters from pattern to pattern 
Shell :: open simulation interface 
Shell :: Sync two local directories in a Linux machine 
Shell :: Command to print list of environment variables in bash 
Shell :: ssm terraform login to ec2 
Shell :: wget raw 
Shell :: xfce ubuntu server disable suspend 
Shell :: i dont have pip, hoow to install pandas 
Shell :: add geckodriver to path linux 
Shell :: gitlab push existing project commandlie 
Shell :: how to find and replace in nano editor 
Shell :: how to install google chrome in ubuntu 32-bit 
Shell :: npm otp-generator 
Shell :: logging output in bash scripts 
Shell :: ubuntu install Qsampler 
Shell :: unity install c# package 
Shell :: Instal helm ubuntu linux 
Shell :: install ssl lampp in bash terminal 
Shell :: download stardocks sdk from nuget package 
Shell :: brew 
Php :: display wordpress error 
Php :: larave whereNotNull 
Php :: wordpress get template url 
Php :: php to shortcode 
Php :: php forbidden header 
ADD CONTENT
Topic
Content
Source link
Name
9+2 =