Symlink

From Leo's Notes
Revision as of 15:49, 4 October 2019 by Leo (talk | contribs) (Created page with " == Resolving == Use {{code|realpath}} or {{code|readlink}} to resolve a symlink. {{highlight|lang=terminal|code= # readlink -f /mediawiki/LocalSettings.php /config/..2019_10...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This page was last edited on 4 October 2019, at 15:49.

Resolving

Use realpath or readlink to resolve a symlink.

# readlink -f /mediawiki/LocalSettings.php
/config/..2019_10_04_15_43_59.132753252/LocalSettings.php
# realpath /mediawiki/LocalSettings.php
/config/..2019_10_04_15_43_59.132753252/LocalSettings.php