Realpath
Realpath is a term used in computing to describe a function or process that resolves a pathname to its canonical absolute form. This involves resolving symbolic links, removing redundant separators, and eliminating references such as "." and ".." to produce a direct, unambiguous path.
In POSIX systems, the realpath() function performs this resolution. It takes a path and returns a canonicalized
Applications and languages store and use realpath in slightly different forms. In programming languages, realpath-like functions
Security considerations include the fact that resolving symlinks can reveal the true location of files used