Macaulay2 » Documentation
Packages » Macaulay2Doc » The Macaulay2 language » system facilities » file manipulation » symlinkFile
next | previous | forward | backward | up | index | toc

symlinkFile -- make a symbolic link to a file

Description

i1 : fn = temporaryFileName()

o1 = /tmp/M2-30244-0/0
i2 : symlinkFile("qwert", fn)
i3 : fileExists fn

o3 = false
i4 : readlink fn

o4 = qwert
i5 : removeFile fn

See also

For the programmer

The object symlinkFile is a compiled function.


The source of this document is in Macaulay2Doc/ov_system.m2:1087:0.