jot

generates sequential or random data

TLDR

Generate sequence
$ jot [10]
Generate range
$ jot [10] [1] [100]
Generate with step
$ jot - [1] [100] [5]
Random numbers
$ jot -r [5] [1] [100]
Repeated string
$ jot -b [string] [5]
Formatted output
$ jot -w "[%02d]" [10]

SYNOPSIS

jot [options] [reps [begin [end [step]]]]

DESCRIPTION

jot generates sequential or random data. It produces numbers, characters, or formatted strings.The tool is useful for generating test data and sequences. It supports various output formats.

PARAMETERS

REPS

Number of repetitions.
BEGIN
Starting value.
END
Ending value.
STEP
Increment.
-r
Random values.
-b STRING
Repeat string.
-w FORMAT
Printf format.
-s STRING
Separator.
--help
Display help information.

INSTALL

sudo apt install athena-jot
sudo apk add outils-jot
brew install jot
nix profile install nixpkgs#jot

CAVEATS

BSD utility. Not in GNU coreutils. Use seq for portability.

HISTORY

jot originated in BSD Unix as a data generator utility. It provides more flexibility than seq.

SEE ALSO

seq(1), yes(1), printf(1)