Skip to main content

Linux command: seq - print a sequence of numbers


https://pixabay.com/illustrations/pay-numbers-digits-fill-mass-937882/

seq - print a sequence of numbers

$ seq 5
1
2
3
4
5

Numbers from 1 to 10 with increment of 2 - Odd numbers from 1 to 10

$ seq 1 2 10
1
3
5
7
9

Numbers from 1 to 10 with increment of 2 - Even numbers from 0 to 10

$ seq 0 2 10
0
2
4
6
8
10

Popular posts from this blog

Wireguard VPN: Notes

Notes while trying Wireguard VPN on some of my testbeds.

Install Microsoft .NET Core SDK

.NET Core Software Development Kit (SDK) is a set of libraries and tools that allow developers to create .NET Core applications and libraries.