Install with apt-get.
Most useful in shell scripting to resolve paths with ../ That is relative paths to real paths from /
realpath needs to be included in all version of Mint
Forum rules
Topics in this forum are automatically closed 6 months after creation.
Topics in this forum are automatically closed 6 months after creation.
realpath needs to be included in all version of Mint
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: realpath needs to be included in all version of Mint
That similar to what readlink -f does. For example to get the canonical path of parent directory:
readlink is part of coreutils, so present on all GNU/Linux distros.
Code: Select all
readlink -f ../