Manage symbolic links for default commands; can read arbitrary files.
update-alternatives update-alternatives Sandbox: execFile · Timeout: 30s
system.file.write Outputs
process.output Command execution output
process_spawn Produces
process.output| Resource | Value |
|---|---|
| CPU | low |
| Memory | 16 MB |
| Network | none |
| Disk I/O | low |
Write to arbitrary files (sudo, suid)
echo DATA >/path/to/temp-file
update-alternatives --force --install /path/to/output-file x /path/to/temp-file 0 update-alternatives is a command-line utility. Manage symbolic links for default commands; can also write to arbitrary files.