Skip to main content

Tedshd's Dev note

Mac - Use readlink in Mac OS X

Table of Contents
  1. install coreutils
brew install coreutils
  1. test greadlink
greadlink -f <file name>
  1. alias command line
alias readlink=greadlink

refer - How can I get the behavior of GNU’s readlink -f on a Mac?;