Create a sequence of integers.
Section: Numbers and Math
Generate numeric range
bash
bash
jq -n '[range(0; 5)]'Explanation
Great for synthetic data and loops.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Numbers and Math