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-11990-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 /build/reproducible-path/macaulay2-1.25.05+ds/M2/Macaulay2/packages/Macaulay2Doc/functions/readlink-doc.m2:20:0.