瀏覽

  • fish-shell »
  • fish-shell 4.6.0-gf3f675b 說明文件 »
  • 命令 »
  • realpath - convert a path to an absolute path without symlinks
  • This documents an old version of fish. See the latest release.

Documents

  • 介紹
  • 常見問題
  • Interactive use
  • fish 語言
  • 命令
  • Fish for bash users
  • 教學
  • 編寫你自己的補全
  • 編寫你自己的提示
  • 設計
  • 發行備註
  • 終端機相容性
  • Contributing To Fish
  • 授權條款

快速搜尋

Sections

  • realpath - convert a path to an absolute path without symlinks
    • 概要
    • 描述

realpath - convert a path to an absolute path without symlinks¶

概要¶

realpath [OPTIONS] PATH

描述¶

realpath follows all symbolic links encountered for the provided PATH, printing the absolute path resolved. fish provides a realpath-alike builtin intended to enrich systems where no such command is installed by default.

If a realpath command exists, that will be preferred. builtin realpath will explicitly use the fish implementation of realpath.

The following options are available:

-s or --no-symlinks

Don't resolve symlinks, only make paths absolute, squash multiple slashes and remove trailing slashes.

-h or --help

顯示此指令的幫助資訊。

瀏覽

  • fish-shell »
  • fish-shell 4.6.0-gf3f675b 說明文件 »
  • 命令 »
  • realpath - convert a path to an absolute path without symlinks
  • This documents an old version of fish. See the latest release.
© 版權所有 fish-shell developers.
Found a bug?
使用 Sphinx 8.1.3 建立。