How Do I Create a Softlink in Linux?

How Do I Create a Softlink in Linux?
Contents

To create a symbolic link pass the -s option to the ln command followed by the target file and the name of link. In the following example a file is symlinked into the bin folder. In the following example a mounted external drive is symlinked into a home directory.

Well, the command “ln -s” offers you a solution by letting you create a soft link. The ln command in Linux creates links between files/directory. The argument “s” makes the the link symbolic or soft link instead of hard link.

Alexander Ross
Author

Alexander Ross

Alexander Ross has covered the video game industry for a decade, writing deep dives on game design, esports tournaments, VR developments, and gaming culture.