shell任务执行脚本

# mian目录
currentDir=$(cd $(dirname $0); pwd)
echo "currentDir = ${currentDir}"

source /etc/profile
source ~/.bashrc
conda activate milvus_env
python --version
conda deactivate
python --version

posted @ 2024-09-24 17:51  15375357604  阅读(0)  评论(0编辑  收藏  举报