斜杠前的两个点是什么意思? (../) [英] What does two dots before a slash mean? (../)

查看:1480
本文介绍了斜杠前的两个点是什么意思? (../)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

../在Linux/Unix路径中是什么意思?我已经看到它的意思是上一个目录",但我无法完全理解它.

What does ../ mean in Linux/Unix paths? I've seen that it means as 'up a directory' but I couldn't get to understand it fully.

推荐答案

每个目录的开头都有两个条目,名称分别为.(指向自身的链接)和..(指向其父目录的链接) ).当然,例外是根目录,其中..目录也指的是根目录.

Each directory has two entries in it at the start, with names . (a link to itself) and .. (a link to its parent directory). The exception, of course, is the root directory, where the .. directory also refers to the root directory.

这篇关于斜杠前的两个点是什么意思? (../)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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