0 like 0 dislike
5 views
asked in Software by (5.3k points)
How to create a link to a directory? How I can to create link to directory/folder in GNU/Linux OS console/terminal?

linux create link to directory

Your answer

Try to answer the question as detailed as possible.
Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.

1 Answer

0 like 0 dislike
answered by (5.3k points)
edited by

You can create a link to a directory with help "ln" software.

Examples

Symbolic or soft link (files or directories, more flexible and self documenting):

ln -s /home/user/source /home/user/link

Hard link (files only, less flexible and not self documenting):

ln /home/user/source /home/user/link
For getting more information type "man ln" in console/terminal.

Related questions

0 like 0 dislike
1 answer 21 views
0 like 0 dislike
1 answer 23 views
0 like 0 dislike
1 answer 22 views
0 like 0 dislike
1 answer 12 views
0 like 0 dislike
1 answer 19 views
0 like 0 dislike
1 answer 5 views
0 like 0 dislike
1 answer 19 views
...