- sudo
Returns a command for safely running as root, using sudo. Ensuring non-blocking
if password not set
- chain
Convenience for #chain(Collection)
- alternatives
As #alternatives(Collection)
- commandsToDownloadUrlsAs
Returns commands to download the URL, saving as the given file. Will try each
URL in turn until one
- installPackage
Returns a command for installing the given package. Warns, but does not fail or
return non-zero if i
- requireTest
requires the test to pass, as valid bash `test` arguments; e.g.requireTest("-f
/etc/hosts", "Hosts f
- ok
Returns a command that always exits successfully
- chainGroup
As #chainGroup(Collection)
- dontRequireTtyForSudo
Some machines require a TTY for sudo. Brooklyn by default does not use a TTY so
that it can get sepa
- ifExecutableElse0
Returns a command that runs only if the specified executable exists on the path
(using `which`). if
- ifExecutableElse1
as #ifExecutableElse0(String,String) but returns 1 if the test fails (also
returns non-zero if the c
- setHostname