Macaulay2 » Documentation
Packages » Macaulay2Doc » The Macaulay2 language » system facilities » file manipulation » fileMode » fileMode(String)
next | previous | forward | backward | up | index | toc

fileMode(String) -- get file mode

Description

i1 : fn = temporaryFileName()

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

o2 = /tmp/M2-30034-0/0

o2 : File
i3 : fileMode fn

o3 = 420
i4 : removeFile fn

Ways to use this method:


The source of this document is in Macaulay2Doc/ov_system.m2:1289:0.