The applications listed here are available for use in the Discovery Environment and are documented in: Discovery Environment Manual.

Discovery Environment Applications List

The box below searches only this space.
To search the entire iPlant wiki, enter your query in the box at the upper right.






Skip to end of metadata
Go to start of metadata

Extract Last Lines From a File

Extract Last Lines From a File is a wrapper for the UNIX tail command, which can be used to select and print out to a file a designated number of lines from the end of a text file.

Quick Start

Test Data

All files are located in the Community Data directory of the iPlant Discovery Environment at the following path:

Community Data > iplantcollaborative > example_data > extract_last_lines_from_a_file

Input File(s)

Use SampleText.txt as test data.

Parameters Used in App

When the app is run in the Discovery Environment, use the following parameters with the above input file(s) to get the output provided in the next section below.

  • Default parameters only, no further configuration needed.

Output File(s)

Expect a text file as output named tail_output.txt.

Tool Source for App

1 Comment

  1. ★★★★★ This is a critically important utility, as many tools in the DE give error messages that refer to specific line numbers, and this utility seems to be the ONLY way to view line numbers without using Atmosphere. (by acahill)