eolas/neuron/93d3f8b4-f6ce-497f-bc67-2f2b18c283e8/Symlinks.md
2025-01-17 17:51:58 +00:00

439 B

tags
shell
Linux
procedural

A symbolic link, also termed a soft link, is a special kind of file that points to another file. Unlike a hard link, a symbolic link does not contain the data in the target file. It simply points to another entry somewhere in the file system.

Syntax

ln -s -f ~/[existing_file] ~/.[file_you_want_to_symbolise]

Real example:

ln -s -f ~/dotfiles/.vimrc ~/.vimrc