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

Synology: Commonly Used Commands

Commonly used commands via ssh with Synology NAS.

Data Recovery Softwares

Follow 3-2-1 backup rule so you do not need these data recovery softwares.