Path: utzoo!censor!geac!torsqnt!hybrid!scifi!bywater!uunet!bria!mike Newsgroups: comp.unix.questions Subject: Re: How to make a link with a directory Message-ID: <501@bria> Date: 3 Mar 91 03:17:31 GMT References: <38578@netnews.upenn.edu> Reply-To: uunet!bria!mike Organization: MGI Group International, Los Angeles, CA Lines: 16 Followup-To: Keywords: In an article, duong@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?