Mwnci file functions that are not part of the builtin functions can be loaded with
include("file")
Functions
Command | Definition |
isblock() | Returns true if the named file is a block device. |
ischr() | Returns true if the named file is a character device. |
isdir() | Returns true if the named file is a directory. |
isempty() | Returns true if the named file is empty. |
isexec() | Returns true if the named file is executable by the requesting user. |
isexist() | Returns true if the named file exists. |
isfifo() | Returns true if the named file is a named pipe. |
isfile() | Returns true if the named file is a regular file. |
isgroup() | Returns true if the named file owned by the given group. |
islink() | Returns true if the named file is a symbolic link. |
isnewer() | Returns true if the first named file is newer than the second. |
isolder() | Returns true if the named file is older than the second file. |
isowner() | Returns true if the named file is owned by the named user. |
issetgid() | Returns true if the named file has the gid bit set. |
issetuid() | Returns true if the named file has the uid bit set. |
issock() | Returns true if the named file is a socket. |
issticky() | Returns true if the named file has the sticky bit set. |
writetofile() | Writes a string, hash or array to the named file, overwriting previous content. |