Confirmed users
1,927
edits
No edit summary |
No edit summary |
||
| Line 8: | Line 8: | ||
; dirw <dir> | ; dirw <dir> | ||
: Indicates whether a directory is writable or not. Prints the string "[<dir>] is writable" or "[<dir>] is not writable". | : Indicates whether a directory is writable or not. Prints the string "[<dir>] is writable" or "[<dir>] is not writable". | ||
; exec <prog> [arg1] [arg2] [...] | ; exec [envvar=val ...] <prog> [arg1] [arg2] [...] | ||
: Executes <prog>, optionally passing one or more attributes, as a separate process. Prints out a platform-dependent message indicating success or failure. | : Executes <prog>, optionally passing one or more attributes, as a separate process. Prints out a platform-dependent message indicating success or failure. Environment variables to pass to the process should precede the program name and be of the form <variable name>=<value>. | ||
; hash <file path> | ; hash <file path> | ||
: Prints an MD5 hash of the contents of <file path>, if found and readable. | : Prints an MD5 hash of the contents of <file path>, if found and readable. | ||