World's simplest linux tool
This online utility implements a brand new Linux command called range. This command combines the head and tail commands and outputs a range of characters, words, or lines from the given data. The range indexes can be both positive or negative numbers (if they are negative, the range is extracted from the end of data). Created by Linux experts from team Browserling.
announcement a new site!
We just launched a new site – Online Time Tools – utilities for working with time and date. Check it out!
Run range tool What is a run range?
Run range examples Click to use
Print a Range of Lines
In this example, we're using our browser version of the Linux range command to extract certain titles from a list of the all time greatest books. To do this, we select the line printing option and enter the range from 4 to 8. We also exclude blank lines from the output by unchecking the "Output Empty Lines" option.
In Search of Lost Time Don Quixote Moby Dick War and Peace Hamlet The Odyssey Crime and Punishment The Divine Comedy Pride and Prejudice The Iliad To Kill a Mockingbird Great Expectations Jane Eyre
War and Peace Hamlet The Odyssey Crime and Punishment The Divine Comedy
Include blank lines when printing a range of lines.
Get a Range of Characters
In this example, we slice a part of Leo Tolstoy's quote and extract a range of characters from it. We set the start of the range to a positive value of 7 and the end of the range to a negative value of -13. This way, the output text is a passage that starts at the beginning at the 7th character position and goes to the 13th position from the end (this is what the minus sign in -13 means – count 13 positions from the end).
Great things are always simple and modest. Leo Tolstoy
things are always simple and modest.
Match Till End
In this example, we switch on the word range mode and print the last nine words from an interesting fact about people. In the start position field, we enter the value -9, which anchors the starting position to the ninth word from the end, and we leave the end position empty, which means match all words till the end.
The average person consumes over a ton of food and drinks every year.
over a ton of food and drinks every year.
Pro tips Master online linux tools
You can pass input to this tool via ?input query argument and it will automatically compute output. Here's how to type it in your browser's address bar. Click to try!
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 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 in your browser (in a virtual machine).
Run OpenBSD in your browser (in a virtual machine).
Run NetBSD in your browser (in a virtual machine).
Run DragonFly BSD
Run DragonFly BSD in your browser (in a virtual machine).
Run awk-like commands on the input text.
Run sed-like commands on the input text.
Run ed commands on the input text.
Run vim text editor in your browser.
Run emacs text editor in your browser.
Run a VT100-compatible terminal in your browser.
Play back a script file in a browser-based Unix terminal.
Run printf-like command on input text or data.
Base64 encode/decode on text and data.
Print CRC checksum and byte counts.
Split a file into context-determined pieces.
Remove parts of lines of files.
Convert tabs to spaces.
Print prime factors of n.
Run simple text formatter.
Convert numbers to and from human-readable strings.
Run paragaph reformatter (similar to fmt but better).
Format time and date according to the given format string.
Wrap each input line to fit in specified width.
Join lines of two files on a common field.
Compute checksums of files or strings.
Add line numbers to text lines in files.
Merge lines of files.
Print or check SHA-1 digests.
Shuffle lines of text.
Sort lines of text (with all kinds of options).
Split a file into pieces.
Concatenate and print files in reverse.
Translate or delete characters in files.
Truncate or extend the length of files.
Convert spaces to tabs.
Remove duplicate lines from a sorted file.
Print the number of lines, words, and bytes in files.
Displays a calendar.
Remove columns from a file.
Convert lists into nice columns.
Print ascii, decimal, hexadecimal, octal dump of input data.
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.
Repeatedly output lines with all specified strings or "y".
Generate an ASCII picture of the speaking cow.
Generate ASCII art text in a variety of typefaces.
Print a large, high quality banner using ASCII characters.
Convert an image to the DEC Sixel format.
Convert DEC Sixel data to an image.
Display the ASCII table in hex, decimal, and octal.
Create an animation of a digital or analog X clock.
Create an animation of xclock in cat-clock mode.
Create an animation of eyes following the mouse cursor.
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.
Run the fuzzy matching algorithm on the input data.
Run the glob matching algorithm on the input data.
Unixify File Names
Convert filenames to Unix-friendly filenames.
Print Unix Time
Print time in seconds since 1970-01-01.
Convert UTC to Unix
Convert UTC time to Unix time.
Convert Unix to UTC
Convert Unix time to UTC time.
Subscribe! Never miss an update
Notifications We'll let you know when we add this tool