How to print sequential and random data with jot command in Linux

Jot is a free Linux tool used to print out increasing, decreasing, sequential date or random, redundant data usually one per line. You can also create a list of numbers based on the values.

How to install jot on Ubuntu

Open the terminal application (ctrl+alt+t) and run below jot install command. It will install the latest version of jot on your Linux system.

sudo apt install athena-jot

Jot Command Examples:

1. Print x number of values after and from the number y.

jot x y
jot 10 1

jot command

2. prints 21 evenly spaced numbers increasing from -1 to 1.

jot 21 -1 1.00

jot command ubuntu

3. Print the strings xaa through xaz with

jot -w xa%c 26 a

jot command example

For more details run below commands.

man jot
If you liked this article, please subscribe to our YouTube Channel. You can also stay connected with us on X (Twitter) and Facebook.



Also Read:  ROOT Data Analysis Framework

Leave a Reply