One Day One Cmd

Place for playing with commands…

Day 44: $ seq

ODOC: bala@bala:~ /home$ seq
This command will prints the sequence of numbers. Also we can increment the
values by specific numbers. We can give start position and end position for
specific range.

Ex:
$ seq 5
1
2
3
4
5

$ seq 1 2 10
1
3
5
7
9

$ seq 5 10
5
6
7
8
9
10

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: