link (ln) with *one* name?

Roger B.A. Klorese rogerk at mips.COM
Tue Aug 14 11:30:10 AEST 1990


In article <5698 at uwm.edu> jgd at csd4.csd.uwm.edu (John G Dobnick) writes:
>Stupid question time (I haven't asked one of these for a while, so
>I'm due.  :-) ]
>
>
>Re: 4.3 "ln".  The manpage says ln(1) can be called with only one name.
>	       What purpose does this serve?   Given that ln(1) is
>	       supposed to create "links", I would think you need a
>	       minimum of *two* filenames, no?  What am I missing
>	       here?

	ln -s /some/other/dir/foo

creates a link called "foo" in the current directory.
-- 
ROGER B.A. KLORESE      MIPS Computer Systems, Inc.      phone: +1 408 720-2939
MS 4-02    950 DeGuigne Dr.   Sunnyvale, CA  94086   voicemail: +1 408 524-7421
rogerk at mips.COM         {ames,decwrl,pyramid}!mips!rogerk         "I'm the NLA"
"If the world were a logical place, men would ride sidesaddle." -Rita Mae Brown



More information about the Comp.unix.questions mailing list