Unix/Linux Go Back    

Unix Version 7 - man page for link (v7 section 2)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)

LINK(2) 										  LINK(2)

       link - link to a file

       link(name1, name2)
       char *name1, *name2;

       A  link to name1 is created; the link has the name name2.  Either name may be an arbitrary
       path name.

       ln(1), unlink(2)

       Zero is returned when a link is made; -1 is returned when  name1  cannot  be  found;  when
       name2  already  exists;	when the directory of name2 cannot be written; when an attempt is
       made to link to a directory by a user other than the super-user; when an attempt  is  made
       to link to a file on another file system; when a file has too many links.

       (link = 9.)
       sys link; name1; name2

Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums

All times are GMT -4. The time now is 04:00 PM.