What does the path '/../' mean?
Wondering where a path that looks like this '/../' would point to outside a file? I'm guessing it might be something like always specifying the root directory and then the relative parent directory to the file it was written in?
Lets break /../
down piece by piece
The first /
indicates the root of the file system
This is the top most level of the filesystem
..
means the parent folder
However, since we are at the top most level, we cannot go higher, so we are still at the top most folder
adding /
at the end indicates a folder. This is never mandatory, unless specifying a subfolder path or file. So we are still at the top most folder on the file system.
So, /../
is no different than typing /