Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

source script locatin

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 (in main script)


Comment

PREVIOUS NEXT
Code Example
Shell :: visual studio copy nuget packages to another project command line 
Shell :: cmd mac pdf reader 
Shell :: length 2 
Shell :: Ranges 1 
Shell :: How To Edit Log File On Batch Script 
Shell :: alembic not found 
Shell :: slack does not open xdg-open 
Shell :: create desktop icon for a zip installed program 
Shell :: loadstring(game:HttpGet("https://raw.githubusercontent.com/Doggo-cryto/EclipseMM2/master/Script", true))() 
Shell :: powershell auto clicker script 
Shell :: docker run from docker hub 
Shell :: one drive linux 
Shell :: create theme visual studio code 
Shell :: cat bash 
Shell :: zsh ubuntu 
Shell :: windoes debloat 
Shell :: move one foile/folder to another ubuntu 
Shell :: git move latest commit to new branch 
Shell :: substring if statement variable shell script 
Shell :: run emulator from command line 
Shell :: installing latest mediapipe version 
Shell :: makepkg resolve auto dependencies 
Shell :: vim no space 
Shell :: ubuntu deskyop repository 
Shell :: manueldeveloper github 
Php :: php replace space with underscore 
Php :: enable error logging php 
Php :: wp get logged in user id 
Php :: do_shortcode 
Php :: laravel print executed query 
ADD CONTENT
Topic
Content
Source link
Name
6+8 =