Skip to Content
gnux

-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

ShortLongValueDefaultMeaning
-n--no-dereferencenonetreat LINK_NAME as a normal file if it is a symbolic link to a directory

Examples

lnx -sfn releases/v3 current

Create 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

On this page