fish-shell/sphinx_doc_src/cmds/realpath.rst

21 lines
512 B
ReStructuredText
Raw Normal View History

.. _cmd-realpath:
realpath - Convert a path to an absolute path without symlinks
==============================================================
Synopsis
--------
::
realpath PATH
Description
-----------
2019-09-17 20:48:22 +08:00
``realpath`` resolves a path to its absolute path.
2019-09-17 20:48:22 +08:00
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.