/Fish 3.1

realpath - Convert a path to an absolute path without symlinks

realpath PATH


realpath resolves a path to its absolute path.

fish provides a realpath builtin as a fallback for systems where there is no realpath command. fish's implementation always resolves its first argument, and does not support any options.

If the operation fails, an error will be reported.

© 2019 fish-shell developers
Licensed under the GNU General Public License, version 2.