Display or set system date and time, can read files via -f flag.
date {f} ๐ f date {f} Sandbox: execFile · Timeout: 10s
system.file.read system.datetime.display | Name | Type | Required | Default | Description | Aliases |
|---|---|---|---|---|---|
f | file | No | - | Read dates from file | -f |
Inputs
system.file.path Path to file to parse as date strings
Outputs
system.file.content File content with prefix corruption
Produces
system.file.contentConsumes
system.file.path| Resource | Value |
|---|---|
| CPU | low |
| Memory | 2 MB |
| Network | low |
| Disk I/O | low |
Read arbitrary file via date format parsing, each line wrapped in quotes with prefix
date -f /path/to/input-file date displays or sets the system date and time. The GNU version's -f flag parses a file for date strings, leaking each line with a prefix in quotes โ useful for file read when used with elevated privileges.