multiple links with single ln command

sara lidgey slidgey at
Tue Jun 27 18:43:49 UTC 2006

Hi All,

I've read the man page for ln but can't find a way to do this.  I want to create multiple links to a single directory with one command.  Consider the following example.  I have a directory structure like this:
 I want to create a symbolic link called "clink" in test/a/ and test/b/ which points to test/c/

The only way I know to do this is with two commands:
ln -s test/c test/a/clink
ln -s test/c test/b/clink

Can it be done with a single command?

thanks.  sorry if this is a no-brainer,

Now you can have a huge leap forward in email: get the new Yahoo! Mail. 

More information about the freebsd-questions mailing list