Shell Data Processing - tail utility

Card Puncher Data Processing

About

tail is a filter program that prints the last ten lines of a standard input stream or a file. (Handy when viewing log files for diagnostic).

tail file.txt

The inverse program is the head program that prints the first lines.

It's part of the gnu utility package.

Monitoring a file

Use the -f option:

tail -f file.txt

you get to see the end of the file peridocially (logfiles are good candidate)





Discover More
Bash Liste Des Attaques Ovh
Linux - File

Linux file management See Using Parameters Expansion Removal From a path string where the file does not exist dirname returns the first parent of an existing path file. ...
Obi Edition
OBIEE 10G - Linux OEL 5 x86 Installation version 10.1.3.4.1

Open the Set the JavaHome parameter to the point to the new JDK location. For example, . tail Oracle BI Java Host start-up details: /usr/local/OracleBIData/web/log/javahost.out.log Oracle BI Java...
Card Puncher Data Processing
Shell Data Processing - Filter (Stream Operator)

This page is pipeline operator in a shell language. They are known as filter in a shell language. It is a computer program or shell command (subroutine) that: read from standard input (stream)...



Share this page:
Follow us:
Task Runner