Click to See Complete Forum and Search --> : making directory links


NeilBlue
12-02-2000, 07:30 AM
Hello,

I am trying to create a link to a directory. I have made one before using cp -l source dest, but this does not seem to work for directories. Please could someone tell me how to do this.

Thank you

Neil Blue

Derango
12-02-2000, 08:14 AM
to make a link to a directory you can type:

ln -s <directory> <linkname>

for example, if I wanted to make a link to the directory stuff and I wanted to call the link GoodStuff I would type:

ln -s stuff GoodStuff

This also works for linking files.

------------------
This space For Rent