How to make a link with a directory

uunet!bria!mike uunet!bria!mike
Sun Mar 3 13:17:31 AEST 1991


In an article, duong at eniac.seas.upenn.edu (ROBOCOP) writes:
>I would like to know how to make the following link to a directory as
>the following
>
>l---------   1 root     sys           23 Jun 13  1990 cplot@ -> /u3/sjo/cplot/bin/cplot

Are you talking about symbolic links or hard links (this looks symbolic)?
If you want a hard link, use link(2); if you want a symbolic link, use
symlink(2).  If you want to do this from the command line or a script, then
read up on the ln(1) command.

-- 
Michael Stefanik, MGI Inc., Los Angeles| Opinions stated are not even my own.
Title of the week: Systems Engineer    | UUCP: ...!uunet!bria!mike
-------------------------------------------------------------------------------
Remember folks: If you can't flame MS-DOS, then what _can_ you flame?



More information about the Comp.unix.questions mailing list