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: Empty Recycle Bin

How to empty Recycle Bin. Control Panel > Shared Folder > Action > Empty al Recycle Bins Synology: Empty Recycle Bin

Assembly on Linux with NASM

Practice Assembly on Linux with NASM - Netwide Assembler

Learn IBM z/OS