next | previous | forward | backward | up | top | index | toc | Macaulay2 website
Macaulay2Doc > The Macaulay2 language > file manipulation > symlinkFile

symlinkFile -- make a symbolic link to a file

Synopsis

Description

i1 : fn = temporaryFileName()

o1 = /tmp/M2-499805-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.