In bash shell script
By default, main.sh file is available.
if i create new file under a folder (folder name : study1, file name : basic1.sh)
please teach me how do i run the basic1.sh file
TheForArkLD
bash study1/basic1.sh
(Can you do my original language?)
llambda
In the console type: bash study1/basic1.sh
, then press enter.
Hi, @kumarantv .
You can find the answer here:
https://unix.stackexchange.com/questions/216910/bash-command-to-source-a-file-in-a-different-directory
source "study1/basic.sh"