发起文件是指在 shell 的当前实例中运行文本文件中包含的命令。这是使用 shell 内置的命令实现的。
在 Bourne shell 和其派生程序下,此命令的名称是 .
(一个英文句点)。例如,如果 SQL Anywhere 安装在 /opt/sqlanywhere16 中,应使用以下语句发起 sa_config.sh:
. /opt/sqlanywhere16/bin32/sa_config.sh |
例如,在 Mac 上,运行以下命令发起 sa_config.sh:
. Applications/SQLAnywhere16/System/bin32/sa_config.sh |
在 C-shell 和其派生程序下,命令是 source
。例如,如果 SQL Anywhere 安装在 /opt/sqlanywhere16 中,应使用以下命令发起 sa_config.csh:
source /opt/sqlanywhere16/bin32/sa_config.csh |
![]() |
使用DocCommentXchange讨论此页。
|
版权 © 2013, SAP 股份公司或其关联公司. - SAP Sybase SQL Anywhere 16.0 |