Skip to Content
gnux

--relative-to

Print the resolved path relative to DIR.

An option of realpathx.

Usage

realpathx --relative-to=DIR FILE...

Details

ShortLongValueDefaultMeaning
--relative-toDIRprint the resolved path relative to DIR

Examples

realpathx --relative-to=/usr/lib /usr/bin/sort

Help in the terminal

gnux help realpathx --relative-to

On this page