Run Seq
World's simplest linux tool
This online utility implements the Linux command seq. This command prints a sequence of increasing or decreasing numbers. You can customize the starting and ending values, and also the increment step. The numbers can be integers or floating points numbers. If they are floating-point numbers, then you can also adjust their precision. Created by Linux experts from team Browserling.
a new linux project!
announcement
Love Linux as much as we do? Then you'll also love our new project – TUXURLS – a super neat Linux news aggregator. Check it out!
A link to this tool, including input, options and all chained tools.
Can't convert.
What is a Run Seq?
learn more about this tool
This JavaScript program runs the Linux seq command in your web browser. The seq command prints an ascending or descending sequence of numbers to the standard output (stdout). As browsers don't really have a stdout, the command prints the sequence to a textbox. The range of the sequence can be specified using the first number (start number) and the last number (end number). The start and end range values can be positive or negative and they can be integers or decimal fractions. The rate at how fast the sequence increases or decreases is controlled by the increment step value. The step can also be a positive, negative, integer, or decimal number. For example, with the options: first value = 5, last value = 10, step = 1, you will get the sequence "5, 6, 7, 8, 9, 10", and with the options: first value = 1, last value = -12, step = -3, you will get the sequence "1, -2, -5, -8, -11". If the first range value is not specified, then it's assigned the default value of 1. If the increment value is not specified, then it's set to 1 (if start < end) or -1 (if start > end). All numbers that fall in the range are displayed on the screen in a vertical column. To print numbers in one line, use the sequence separator option and enter a delimiter character in it, such as a comma, semicolon, or space. We also added a rarely used seq option that lets you equalize the width of the integer part of all printed values. When the "Equal Width" padding option is activated, the program adds several zeros in front of each output value, so that the number of digits in the integer part of all numbers is the same. For example, with this padding option active, the sequence "5, 6, 7, 8, 9, 10" turns into "05, 06, 07, 08, 09, 10". The original Linux seq command also lets you format the output numbers. After reviewing the most common seq use cases, we found that this option is rarely used. The only real use case that we found was controlling the precision of decimal numbers, so we added a precision option to our seq implementation. By specifying a precision value, you make the number of digits after the decimal point equal to the precision value. For example, if you specify the precision to be 3, then the sequence "1.1, 2.2, 3.3, 4.4" becomes "1.100, 2.200, 3.300, 4.400". Tuxabulous!
Run Seq examples
Click to useSequence from 1 to 100
In this example, we're using our browser version of the Linux seq program to create a sequence of integers from 1 to 100. To do this, we set the first number of the sequence to 1, the last number to 100, and the delta increment to 1. We use a space as the sequence element separator and this way get the entire sequence displayed on one line.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100
Required options
First value of the sequence.
Last value of the sequence.
Sequence increment step.
Separate numbers with this
string (default is newline: "\n").
Left-pad numbers with 0s
to make all numbers have
the same width.
Number of digits in the decimal
part of the number.
Equal Width Numbers
In this example, we generate a descending sequence of numbers from 300 to -300 with a negative step value of -50. Since the width of numbers (width is the number of symbols in a number, including the minus sign) varies from 1 to 4 (the number 0 having 1 symbol and the number -100 having four symbols), we use the "Equal Width" option to even out the widths of all numbers. This option adds zero padding to the numbers so that they all become the same length. We print this integer sequence in a vertical column, using the escape sequence "\n" as the value delimiter.
0300
0250
0200
0150
0100
0050
0000
-050
-100
-150
-200
-250
-300
Required options
First value of the sequence.
Last value of the sequence.
Sequence increment step.
Separate numbers with this
string (default is newline: "\n").
Left-pad numbers with 0s
to make all numbers have
the same width.
Number of digits in the decimal
part of the number.
Precision of a Thousandth
This example creates a comma-separated sequence of fractional numbers that fall between -10 and 11 and that have 1.05 units between them. To demonstrate the precision option, we set it to 3, which means rounding the numbers to the thousandths place. Also to make it more fun, we make the length of the integer part equal to the length of the fractional part (both parts are now 3 digits long, including the minus sign).
-10.000, -08.950, -07.900, -06.850, -05.800, -04.750, -03.700, -02.650, -01.600, -00.550, 000.500, 001.550, 002.600, 003.650, 004.700, 005.750, 006.800, 007.850, 008.900, 009.950, 011.000
Required options
First value of the sequence.
Last value of the sequence.
Sequence increment step.
Separate numbers with this
string (default is newline: "\n").
Left-pad numbers with 0s
to make all numbers have
the same width.
Number of digits in the decimal
part of the number.
Pro tips
Master online linux tools
You can pass options to this tool using their codes as query arguments and it will automatically compute output. To get the code of an option, just hover over its icon. Here's how to type it in your browser's address bar. Click to try!
https://onlinelinuxtools.com/seq?&first-value=1&last-value=100&increment=1&separator=%20&equal-width=false&precision=
All linux tools
Quickly escape special shell characters in a string.
Quickly output the first part of the input text or data.
Quickly output the last part of the input text or data.
Quickly combine head and tail commands and extract a range.
Quickly print a sequence of numbers to standard output.
Quickly reverse the given lines characterwise.
Coming soon
These linux tools are on the way
Run Linux
Run a Linux distribution in your browser (in a virtual machine).
Run Plan 9
Run Plan 9 operating system in your browser (in a vm).
Run FreeBSD
Run FreeBSD in your browser (in a virtual machine).
Run OpenBSD
Run OpenBSD in your browser (in a virtual machine).
Run NetBSD
Run NetBSD in your browser (in a virtual machine).
Run DragonFly BSD
Run DragonFly BSD in your browser (in a virtual machine).
Run Bash
Run a bash shell in your browser.
Run ShellCheck
Find syntax errors and bugs in a shell script.
Run Zsh
Run a zsh shell in your browser.
Run Fish Shell
Run a fish shell in your browser.
Run SSH
Run ssh in your browser and connect to any host.
Run Awk
Run awk-like commands on the input text.
Run Sed
Run sed-like commands on the input text.
Run Ed
Run ed commands on the input text.
Run Vim
Run vim text editor in your browser.
Run Emacs
Run emacs text editor in your browser.
Run Terminal
Run a VT100-compatible terminal in your browser.
Run Script
Play back a script file in a browser-based Unix terminal.
Convert Script to GIF
Create a GIF animation from a script file.
Printf Data
Run printf-like command on input text or data.
Run Base64
Base64 encode/decode on text and data.
Run File
Find the filetype of a file by looking at its bytes.
Run Cksum
Print CRC checksum and byte counts.
Run Csplit
Split a file into context-determined pieces.
Run Cut
Remove parts of lines of files.
Run Expand
Convert tabs to spaces.
Run Expr
Evaluate expressions.
Run Factor
Print prime factors of n.
Run Fmt
Run simple text formatter.
Run Numfmt
Convert numbers to and from human-readable strings.
Run Par
Run paragaph reformatter (similar to fmt but better).
Run Strftime
Format time and date according to the given format string.
Run Fold
Wrap each input line to fit in specified width.
Run Join
Join lines of two files on a common field.
Run Md5sum
Compute checksums of files or strings.
Run Nl
Add line numbers to text lines in files.
Run Paste
Merge lines of files.
Run Sha1sum
Print or check SHA-1 digests.
Run Shuf
Shuffle lines of text.
Run Sort
Sort lines of text (with all kinds of options).
Run Split
Split a file into pieces.
Run Tac
Concatenate and print files in reverse.
Run Tr
Translate or delete characters in files.
Run Truncate
Truncate or extend the length of files.
Run Unexpand
Convert spaces to tabs.
Run Uniq
Remove duplicate lines from a sorted file.
Run Wc
Print the number of lines, words, and bytes in files.
Run Cal
Displays a calendar.
Run Colrm
Remove columns from a file.
Run Columns
Convert lists into nice columns.
Run Hexdump
Print ascii, decimal, hexadecimal, octal dump of input data.
Run Uuidgen
Create and print a new universally unique identifier (UUID).
Unescape Shell Characters
Given an escaped shell string, unescape it.
Quote a Shell String
Single or double quote a shell string.
Unquote a Shell String
Remove quotes from a quoted shell string.
Run Yes
Repeatedly output lines with all specified strings or "y".
Run Cowsay
Generate an ASCII picture of the speaking cow.
Run Figlet
Generate ASCII art text in a variety of typefaces.
Run Banner
Print a large, high quality banner using ASCII characters.
Run Fortune
Print a random, interesting adage.
Run img2sixel
Convert an image to the DEC Sixel format.
Run sixel2img
Convert DEC Sixel data to an image.
Run xascii
Display the ASCII table in hex, decimal, and octal.
Run xclock
Create an animation of a digital or analog X clock.
Run Catclock
Create an animation of xclock in cat-clock mode.
Run XEyes
Create an animation of eyes following the mouse cursor.
Run XLogo
Draw the logo of the X Window System.
Long to IP
Convert a long integer IP to a dotted string IP address.
IP to Long
Convert a standard IP address to a long numeric IP.
Fuzzy Match
Run the fuzzy matching algorithm (fzf) on the input data.
Glob Match
Run the glob matching algorithm on the input data.
Unixify File Names
Convert filenames to Unix-friendly filenames.
Unixify File Paths
Convert a Windows path (reverse slash) to Unix path (slash).
Windowsify File Paths
Convert a Unix path (slash) to a Windows path (reverse slash).
Generate a Random Path
Create random Unix paths of directories and files.
Fuzzify a File Path
Apply fuzzing on a file path and add mistakes in it.
Print Unix Time
Print time in seconds since 1970-01-01.
Generate Crontab Entry
Given human-readable date and time, create crontab string.
Decode Crontab Entry
Given a crontab string, make it human-readable.
Convert UTC to Unix
Convert UTC time to Unix time.
Convert Unix to UTC
Convert Unix time to UTC time.
Generate Bash History Stats
Create a summary of the most used commands.
Subscribe!
Never miss an update
Cool!
Notifications
We'll let you know when we add this tool
Cool!