help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to check if it in a sourced bash file or in a nonsourced bash file?


From: Peng Yu
Subject: How to check if it in a sourced bash file or in a nonsourced bash file?
Date: Thu, 7 Nov 2019 07:13:11 +0800

I'd like to know whether it is in a source bash file or a non sourced
bash file. Does anybody know what is the best way to make this test?
Thanks.

-- 
Regards,
Peng



reply via email to

[Prev in Thread] Current Thread [Next in Thread]