getpermissions — Return the permissions of a file in an octal representation.


getpermissions [filename]


Given the path to a file, prints an octal representation of the file's permissions, usable by commands such as chmod.

Topic revision: r1 - 2016-01-11 - YiLee
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback