bash readlink - ghdrako/doc_snipets GitHub Wiki

readlink command in Linux is used to print resolved symbolic links or canonical file names. In simple words whenever we have a symbolic link and we want to know what path it represents.

Syntax:

readlink [OPTION]... FILE...