Last active
April 18, 2022 18:19
-
-
Save caffeinetiger/3734fb291ac05e6cacaa9b7e2397854c to your computer and use it in GitHub Desktop.
Commands taken from [this post](https://linuxhint.com/symlink-a-directory-in-linux/)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Symlink a file | |
| ln -s [path of the target file] [symbolic name] | |
| # example | |
| ln -s my_folder/my_doc.txt my_document | |
| # Symlink a directory | |
| ln -s source_folder destination_folder | |
| # example | |
| ln -s winhome/.aws .aws |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment