Shell脚本当前目录? [英] Shell script current directory?

查看:71
本文介绍了Shell脚本当前目录?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

shell脚本的当前目录是什么?我从这个当前目​​录中调用它吗?还是脚本所在的目录?

What is current directory of shell script? I this current directory from which I called it? Or this directory where script located?

推荐答案

shell脚本的当前(初始)目录是您从中调用目录的目录脚本。

The current(initial) directory of shell script is the directory from which you have called the script.

这篇关于Shell脚本当前目录?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆