$ whatis source
source: nothing appropriate.
$ man source
No manual entry for source
$ source
bash: source: filename argument required
source: usage: source filename [arguments]
Run Code Online (Sandbox Code Playgroud)
它存在,并且可以运行。为什么 Ubuntu 中没有关于它的任何文档?它有什么作用?如何安装有关它的文档?
执行像 A 这样的 Bash 脚本和采购像 B 这样的 Bash 脚本有什么区别?
A
> ./myscript
B
> source myscript
Run Code Online (Sandbox Code Playgroud) 我需要找到点命令的帮助,.例如. ./my_script.sh(我的意思是第一点。)
我已经尝试使用man .and查找手册页man \.。如何显示说明命令使用的手册页.?