Generate random permutations of input lines; can read and write files.
shuf shuf Sandbox: execFile · Timeout: 30s
system.file.read 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 |
Read arbitrary files (sudo, suid, unprivileged)
shuf -z /path/to/input-file Write to arbitrary files (sudo, suid, unprivileged)
shuf -e DATA -o /path/to/output-file shuf is a command-line utility. Generate random permutations of input lines; can also read arbitrary files, write to arbitrary files.