ln -s question
I'm trying to create a link to /var/www/html/install/Packages/ to my /install/ directory.
now when I try Code:
ln -s /var/www/html/install/Pakcages/ install is it possible to create a link to a directory?? |
Yes, it's possible. If you do
Code:
cd install |
out of curiosity, did you miss spell "packages" in the link itself, or just the forum post?
This would effectively create an link to a non existant file, thus the link itself will be empty, if you try and access it by "cd" though, it should give "No such file or directory" as an error... But if you were to try and edit it with vi, vi will open an empty file... |
Hi,
After going through the man page of ln it shows this Code:
-d, -F, --directory |
I miss spelled it only on the forum, on the machine I use tab completion
It creates the link, it also seems to be correct, but when I enter the /install directory it just empty. and... damn I think I erased the original directory. problem solved, my bad.. thanks for the help fellas. |
That'll do it ;)
|
All times are GMT -5. The time now is 12:07 PM. |