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

Powershell: Install IIS

Run Powershell as Administrator, then run the command below to install IIS. Install-WindowsFeature Web-WebServer Check after installing Get-WindowsFeature *Web*

Microsoft Azure Repos

Azure Repos Documentation