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

readlink -- readlink fn

Synopsis

Description

i1 : p = temporaryFileName ()

o1 = /tmp/M2-248088-0/0
i2 : symlinkFile ("foo", p)
i3 : readlink p

o3 = foo
i4 : removeFile p

For the programmer

The object readlink is a compiled function.