eolas/neuron/3962ef80-32e3-49b8-8e16-d14a26e9787a/Symlinks.md
2024-10-22 16:47:58 +01: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