如何 call/use 具有相对路径的另一个文件夹中的脚本或 conf 文件?

How to call/use a script or conf file from another folder with relative path?

我有一个文件夹“main”包含两个子文件夹“common”和“scripts”。

如何在不使用绝对路径的情况下从“scripts”文件夹的shell脚本调用“common”文件夹中的shell脚本或.conf文件?

我必须 call/use “scripts”.sh 文件中“common”的 .conf 和 .sh 文件,以及“main”的相对路径,如何实现?

common/ 内呼叫,例如bash ../scripts/myscript.sh