This shows you the differences between two versions of the page.
| Previous revision | |||
| — | fuss:jot [2025/10/21 23:26] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Generating MAC Addresses ====== | ||
| + | |||
| + | <code bash> | ||
| + | printf " | ||
| + | </ | ||
| + | |||
| + | ====== Print Sequences of Numbers ====== | ||
| + | |||
| + | Input: | ||
| + | <code bash> | ||
| + | jot - 1000 10000 1000 | ||
| + | </ | ||
| + | |||
| + | Output: | ||
| + | < | ||
| + | 1000 | ||
| + | 2000 | ||
| + | 3000 | ||
| + | 4000 | ||
| + | 5000 | ||
| + | 6000 | ||
| + | 7000 | ||
| + | 8000 | ||
| + | 9000 | ||
| + | 10000 | ||
| + | |||
| + | </ | ||
| + | |||
| + | ====== Generate Unique Equal-Length Random Numbers ======= | ||
| + | |||
| + | To generate 1000 unique random numbers, issue: | ||
| + | <code bash> | ||
| + | jot -r 1000 0 65535 | uniq | xargs printf " | ||
| + | </ | ||
| + | |||
| + | where the '' | ||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | |||
| + | The '' | ||
For the contact, copyright, license, warranty and privacy terms for the usage of this website please see the contact, license, privacy, copyright.