答案1
获取命令将影响您当前的 shell 环境。从 运行此命令将crontab
不起作用。将其放入 您的 中.bashrc
。这也是本教程所说的:
Add the below line in **.profile** or **.bashrc**
# Add the below line in **.profile** or **.bashrc**
## This will load all the needed environmental variables for SQLanywhere17
source "/opt/sqlanywhere17/bin64/sa_config.sh"
跑步:
echo 'source "/opt/sqlanywhere17/bin64/sa_config.sh"' >> "~/.bashrc"
并重新启动终端。