From 6b6772f9d5831de0a96ad99544c3723a58611fd4 Mon Sep 17 00:00:00 2001 From: Christian Doyle Date: Mon, 17 Feb 2014 11:59:07 -0500 Subject: [PATCH] Adds some examples for ln Hopefully this will help people remember if the source is the first or second argument --- common/ln.md | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 common/ln.md diff --git a/common/ln.md b/common/ln.md new file mode 100644 index 0000000000..b674020879 --- /dev/null +++ b/common/ln.md @@ -0,0 +1,11 @@ +# ln + +> Creates links to files and folders + +- create a symbolic link to a file or folder + +`ln -s {{path/to/original/file}} {{path/to/link}}` + +- create a hard link to a file or folder + +`ln {{path/to/original/file}} {{path/to/link}}`