Shell 获取当前路径的父目录的绝对路径

echo $(dirname $(pwd))
发布了57 篇原创文章 · 获赞 26 · 访问量 10万+

猜你喜欢

转载自blog.csdn.net/BoomLee/article/details/83150033