To make a symbolic link from a file in one subdirectory to a file in another subdirectory:
ln -s reports/newreport publications/my_report
This makes a symbolic link between the file reportA in the subdirectory reports and the filename my_report in the publications subdirectory.
To make a symbolic link to a file in a subdirectory to your current working directory:
ln -s docs/editors/mydoc.txt .
This makes a symbolic link between the file mydoc.txt in the subdirectory docs/editors/ to the filename mydoc.txt in the current working directory.
0 Comments:
Post a Comment