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

readlink -- get the resolved value a symbolic link

Description

i1 : p = temporaryFileName ()

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

o3 = foo
i4 : removeFile p

See also

For the programmer

The object readlink is a compiled function.


The source of this document is in Macaulay2Doc/functions/readlink-doc.m2:20:0.