realpath This utility resolves all symbolic links, cleans the path and prints the resulting absolute path to stdout. Installation go get github.com/bookerzzz/realpath Usage Usage of realpath: -q=false: warnings will not be printed -s=false: do not resolve symlink