From ed4a8ef02fae2403b1b2455ebcc6e32a075c4038 Mon Sep 17 00:00:00 2001 From: Cvetomir Denchev Date: Wed, 2 Mar 2016 16:36:20 +0200 Subject: [PATCH] added readlink --- pages/common/readlink.md | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 pages/common/readlink.md 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}}`