Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

23
  • 193
    +1, very nice program. But note that it is an external command (not a shell built-in) and may not be present in every system by default, i.e. you may need to install it. In Debian it resides in a separate package with the same name. Commented Oct 12, 2010 at 17:22
  • 5
    I added to my path a realpath consisting of: github.com/westonruter/misc-cli-tools/blob/master/realpath Commented Jan 24, 2012 at 1:10
  • 18
    @Dalin: Try installing coreutils. The binary is named grealpath. Commented Feb 4, 2014 at 9:08
  • 9
    This tool was introduced in GNU coreutils 8.15 (in 2012), so it's quite new.
    – marbu
    Commented Feb 6, 2014 at 22:29
  • 7
    @WalterTross, it is available from the coreutils formula via Homebrew. Commented May 5, 2020 at 8:46