Ns link
Jump to navigation
Jump to search
Man page: http://aolserver.com/docs/tcl/ns_link.html
NAME
- ns_link - Create a hard link
SYNOPSIS
- ns_link ?-nocomplain? filename1 filename2
DESCRIPTION
- This command creates a hard link named filename2 that points to the file or directory specified by filename1. If the link fails, a Tcl error is generated, unless -nocomplain is specified.
- This is a legacy command from when Tcl did not have this functionality. It is now recommended you use
Tcl's file link command instead. In other words, this:
ns_link $file1 $file2
is equivalent to:
file link -hard $file1 $file2
EXAMPLES
% ns_link ns_info pageroot/index.html ns_info pageroot/foo.html
SEE ALSO