1、直接source命令加文件 source /etc/rc.d/init.d/functions 2、点(.)加文件 . /etc/rc.d/init.d/functions 转载于:https://www.cnblogs.com/imzye/p/8216994.html