这个序列 ../.. 在命令行中是什么意思?

R S*_*R S 2 command-line

我不知道如何解释some_command ../..。什么../..意思?

hee*_*ayl 5

..表示当前工作目录的父目录。所以,../..表示当前目录的父目录的父目录。

some_command ../..表示some_command将目录名称作为参数,例如lsor cd

例子:

/foobar/grandparent/parent% cd ../..

/foobar%
Run Code Online (Sandbox Code Playgroud)