realpath

Display the resolved absolute path for a file or directory. More information: <https://www.gnu.org/software/coreutils/realpath>.

Debian Debian
RUN apt-get update && \ apt-get install -y realpath
Ubuntu
RUN apt-get update && \ apt-get install -y realpath
Alpine
RUN apk add coreutils
Arch Arch Linux
RUN pacman -S --noconfirm coreutils
image/svg+xml Kali Linux
RUN apt-get update && \ apt-get install -y coreutils
CentOS
RUN yum install -y coreutils
Fedora
RUN dnf install -y coreutils
Raspbian
RUN apt-get update && \ apt-get install -y coreutils
click the source code to copy install realpath on any operating system with command-not-found.com