All commands
readlink
Topic: Files and folders
Program: readlink
Shows where a symbolic link points to.
Package: core-inodes
Usage
readlink [OPTION]... FILE...
Description
Print where each symbolic link FILE points to. Prints nothing for other files and ends with status 1.
Options in the simulator
-
-f, --canonicalize full path without symbolic links; all but the last part must exist -
-e, --canonicalize-existing like -f, but every part must exist -
-m, --canonicalize-missing like -f, but no part needs to exist -
-n, --no-newline leave out the newline at the end -
--help show this help and exit
5 more options of the real program, not in the simulator yet
-
-q, --quiet not in the simulator yet On a real system it hides error messages; readlink mostly shows none anyway.
-
-s, --silent not in the simulator yet On a real system it hides error messages; readlink mostly shows none anyway.
-
-v, --verbose not in the simulator yet On a real system readlink then reports every error.
-
-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