unix shell中点儿的意思。解决方法

unix shell中点儿的意思。
近日在查看Ubuntu中/etc/init.d/halt脚本时有如下代码:

[   -f   /etc/default/halt   ]   &&   .   /etc/default/halt

.   /lib/lsb/init-functions

请教高手其中的两个点儿到底是什么意思?


就是执行后面的脚本。作用与source命令相同。

Read and execute commands from filename in the current shell
environment and return the exit status of the last command executed from filename.

unix shell中点儿的意思。解决方法

相关文章:

你感兴趣的文章:

标签云: