realpath
Display the canonical absolute pathname (POSIX, toybox)
Syntax:
realpath [-eLmPqsz] [--relative-base dir] [-R dir] file...
Runs on:
QNX OS
Options:
- -e
 - Display the canonical path to existing entry (fails if missing).
 - -L
 - Display logical path (resolve 
..components before symlinks). - -m
 - Ignore missing entries, show where it would be.
 - -P
 - Display physical path (default).
 - -q
 - Be quiet (no error messages).
 - -R dir
 - Show ../path relative to dir directory (--relative-to).
 - ---relative-base dir
 - Trim off the prefix if the path is under the dir directory.
 - -s
 - Don't expand symlinks.
 - -z
 - Use NUL character instead of a newline character.
 - file
 - The pathname of a file to use as input.
 
Description:
This utility is provided as part of the toybox package. For information on how to enable it, see toybox.
Contributing author:
Rob Landley and the toybox project (see https://landley.net/toybox/).
Page updated: 
