[LINUX] How to put a symbolic link

By attaching a symbolic link, you will be able to manage configuration files etc. in one directory. Below are the commands.

$ ln -sf <Path of the file you want to reference> <Path of the symbolic link to create>

(Example of use)

$ ln -sf ~/dotfiles/.zshrc ~/.zshrc

Caution

If there is already a directory with the same name in the place where you want to paste the symbolic link, it seems that the symbolic link will be created under that directory.

Recommended Posts

How to put a symbolic link
[Ln] How to paste a symbolic link in a directory is complicated
How to call a function
How to hack a terminal
[Linux] How to put your IP in a variable
How to write a Python class
How to make a slack bot
How to create a Conda package
How to make a crawler --Advanced
How to make a recursive function
How to create a virtual bridge
How to create / delete symbolic links
How to make a deadman's switch
How to create a Dockerfile (basic)
[Blender] How to make a Blender plugin
How to delete a Docker container
How to make a crawler --Basic
How to create a config file
How to create a clone from Github
How to split and save a DataFrame
How to build a sphinx translation environment
How to create a git clone folder
Qiita (1) How to write a code name
How to add a package with PyCharm
[Python] How to make a class iterable
How to draw a graph using Matplotlib
[Python] How to convert a 2D list to a 1D list
[Itertools.permutations] How to put permutations in Python
[Colab] How to copy a huge dataset
[Python] How to invert a character string
How to install a package using a repository
[Ubuntu] How to execute a shell script
How to get a stacktrace in python
[V11 ~] A memorandum to put in Misskey
How to create a repository from media
How to make a Backtrader custom indicator
How to choose a Seaborn color palette
How to test on a Django-authenticated page
How to make a Pelican site map
How to run a Maya Python script
[Linux] Symbolic link
[Python] How to put any number of standard inputs in a list
It was dangerous to specify a relative path when generating a symbolic link
How to put a line number at the beginning of a CSV file
How to put a half-width space before letters and numbers in Python.
How to make a dialogue system dedicated to beginners
How to calculate the volatility of a brand
How to read a CSV file with Python 2/3
A simple example of how to use ArgumentParser
How to share a virtual environment [About requirements.txt]
How to send a message to LINE with curl
How to create a Python virtual environment (venv)
How to code a drone using image recognition
How to open a web browser from python
How to clear tuples in a list (Python)
How to hold a competition at Coda Lab
How to draw a 2-axis graph with pyplot
How to embed a variable in a python string
How to create a function object from a string
How to draw a 3D graph before optimization
How to develop a cart app with Django