Macaulay2 » Documentation
Packages » Macaulay2Doc :: fileMode(String)
next | previous | forward | backward | up | index | toc

fileMode(String) -- get file mode

Synopsis

Description

i1 : fn = temporaryFileName()

o1 = /tmp/M2-2533213-0/0
i2 : fn << "hi there" << close

o2 = /tmp/M2-2533213-0/0

o2 : File
i3 : fileMode fn

o3 = 420
i4 : removeFile fn

Ways to use this method: