shell获取当前目录

current_dir=$(pwd)

current_dir=`pwd`  # 不推荐,原因见下图

在这里插入图片描述

相关文章

posted on 2023-05-08 15:38  小石头小祖宗  阅读(34)  评论(0)    收藏  举报  来源

导航