Find the answer to your Linux question:
Results 1 to 4 of 4
What is the command to Hark link a directory ........
  1. #1
    Just Joined!
    Join Date
    Jun 2008
    Posts
    19

    Hark link a directory

    What is the command to Hark link a directory .....

  2. #2
    Linux Engineer khafa's Avatar
    Join Date
    Apr 2008
    Location
    Tokyo, Japan
    Posts
    858
    ln is the command to create links. check its manpage to see what you can do with it
    Code:
    man ln
    Linux and me it's a love story

  3. #3
    Linux Engineer hazel's Avatar
    Join Date
    May 2004
    Location
    Harrow, UK
    Posts
    955
    I don't think you can hard-link a directory. Directories are supposed to have n+2 hard links where n is the number of subdirectories (1 link to the directory name, 1 to '.' and 1 to '..' in each subdirectory. Some programs like find rely on this relationship, so they'd have problems if you could add further hard links.
    "I'm just a little old lady; don't try to dazzle me with jargon!"

  4. #4
    Linux Engineer Freston's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    1,047
    You can't. I recommend you try to see if your intends can be achieved by a soft link. Sorry
    Can't tell an OS by it's GUI

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...