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

Linux command: ssh-keygen - Generate SSH Keys

ssh-keygen — authentication key generation, management and conversion

Powershell: Install-WindowsFeature AD-Domain-Services

Install-WindowsFeature AD-Domain-Services Powershell: Install-WindowsFeature AD-Domain-Services Check if AD-Domain-Services is installed Powershell: Check if AD-Domain-Services is installed

Google Pixel Chromebook: Notes

The Chromebook Pixel is a laptop at the high end of Google's Chromebook family of machines, which all come preinstalled with Chrome OS operating system.