symlink

Name

symlink  --  create a symbolic link

Synopsis

symlink {source} {destination}

Description

symlink adds a command, that creates a symbolic link, to the files target. The command does exactly what "ln -sfn source destination" would do. So the meaning of source and destination is just as confusing as it could be when using ln; source is the target (the file or directory referred to) and destination is the name of the symbolic link (the reference) or the directory to create it in. If destination already exists and is a symbolic link, it will be overwritten.

If destination is an absolute name, "$(prefix)" will be prepended to it.

Example

Create a symbolic link sh to dash in /bin/ of the target file system:

    symlink dash /bin/sh
    

See Also

buildtype(3), directory(3), file(3)