All commands
realpath
Topic: Files and folders
Program: realpath
Prints the full path without symbolic links.
Package: core-inodes
Usage
realpath [OPTION]... FILE...
Description
Show where each FILE really is: an absolute path without symlinks, . and .. (only the final name may be missing).
Options in the simulator
-
-e, --canonicalize-existing fail unless each component exists -
-m, --canonicalize-missing components may be missing -
-s, --strip keep symlinks, only remove . and .. -
--help show this help and exit
7 more options of the real program, not in the simulator yet
-
-L, --logical not in the simulator yet On a real system realpath then removes .. before it resolves symlinks.
-
-P, --physical not in the simulator yet On a real system realpath then resolves symlinks, as it does without options.
-
-q, --quiet not in the simulator yet On a real system it hides most error messages.
-
--relative-to needs a value not in the simulator yet On a real system realpath shows the path relative to a directory instead of absolute.
-
--relative-base needs a value not in the simulator yet On a real system realpath shows the path relative to a directory instead of absolute.
-
-z, --zero not in the simulator yet On a real system each output ends with a zero byte instead of a newline, for other programs.
-
--version not in the simulator yet On a real system it prints the version of the program.
Where you learn it
No lesson yet.
All commands