diff --git a/pages/common/readlink.md b/pages/common/readlink.md new file mode 100644 index 000000000..865e64f77 --- /dev/null +++ b/pages/common/readlink.md @@ -0,0 +1,11 @@ +# readlink + +> Follow symlinks and get symlink information. + +- Get the actual file to which the symlink points: + +`readlink {{filename}}` + +- Get the absolute path to a file: + +`readlink -f {{filename}}`