Search code examples
ubuntuln

What is the equivalent option in Ubuntu for OS X ln -h?


The osx command: ln -sfh /a/b /c/d

Fails in ubuntu since h is not a valid option

What's the equivalent command options?


Solution

  • -n is used in GNU to prevent dereferencing symlinks

    ln -sfn /a/b /c/d