Switching users in a bash script?

Luca Dionisi luca.dionisi at gmail.com
Sun Aug 27 10:22:08 PDT 2006


On 8/27/06, Angel Tsankov <fn42551 at fmi.uni-sofia.bg> wrote:

> Btw, how do I call a function in a bash script from another bash script?

Try putting all your functions alone in a file, then source that file
(man source)

HTH

--Luca



More information about the lfs-support mailing list