Skip to main content

Command Palette

Search for a command to run...

TIL: How to Remove and Update a Symlink

Updated
1 min read
TIL: How to Remove and Update a Symlink
J

Open edX expert and open-source enthusiast.

rm my-link                      # Remove the existing symlink
ln -s /source/path my-link      # Create a new symlink: ln -s [source] [link_name]

Note: In ln -s, the first argument is the source (the real file or directory), and the second is the name of the symlink you want to create.

That’s it! Simple and useful when keeping things organized in your system or project!

More from this blog

JayRam Nai's blog

27 posts

Python/Django Developer with Open edX and AWS Expertise