What does two dots before a slash mean? (../) [closed]

Asked
Active3 hr before
Viewed126 times

3 Answers

90%

Stack Overflow Public questions & answers , Meta Stack Overflow ,Stack Overflow en español, Want to improve this question? Update the question so it's on-topic for Stack Overflow.

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.

.
load more v
88%

Want to improve this question? Update the question so it's on-topic for Stack Overflow. ,This will not prevent root from sending wall messages,Is there a good reason for you to not use the os functions?,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.

Example :

function nullOrInt( ? int $arg) {
   var_dump($arg);
}

nullOrInt(100);
nullOrInt(null);
load more v
72%

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., Want to improve this question? Update the question so it's on-topic for Stack Overflow.

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.

.. /
load more v

Other "undefined-undefined" queries related to "What does two dots before a slash mean? (../) [closed]"