-n, --no-dereference
Treat LINK_NAME as a normal file if it is a symbolic link to a directory.
An option of lnx.
Usage
lnx -n TARGET... [LINK_NAME|DIRECTORY]
lnx --no-dereference TARGET... [LINK_NAME|DIRECTORY]Details
| Short | Long | Value | Default | Meaning |
|---|---|---|---|---|
-n | --no-dereference | none | treat LINK_NAME as a normal file if it is a symbolic link to a directory |
Examples
Repoint an existing symlink to a directory, in one atomic step
lnx -sfn releases/v3 currentCreate a release directory and point current at it with the gnux shell
gnux shell -c 'mkdirx -p releases/v4 && lnx -sfnv releases/v4 current'Help in the terminal
gnux help lnx --no-dereference