Top "Tail" questions

The tail is the part of a list that comes after the head.

What's the Solaris equivalent to the BSD's 'tail -n100'?

I've looked this up a thousand times, and I always forget it, so, here for eternity: Solaris has a bit …

unix solaris bsd tail
How can I read first n and last n lines from a file?

How can I read the first n lines and the last n lines of a file? For n=2, I read …

bash awk sed head tail
bash tail on a live log file, counting uniq lines with same date/time

I'm looking for a good way to tail on a live log file, and display number of lines with the …

bash logging tail uniq
Minimum Websocket Nodejs Tail Example

I'm trying to create a stream of data to the browser using websocket. The data is the output of a …

node.js websocket tail
How can I use tail utility to view a log file that is frequently recreated

I need a solution in creating a script to tail a log file that is recreated (with the same name) …

bash file tail
How to tail -f the latest log file with a given pattern

I work with some log system which creates a log file every hour, like follows: SoftwareLog.2010-08-01-08 SoftwareLog.2010…

linux logging zsh tail
Binary "tail" a file

I would guess most people on this site are familiar with tail, if not - it provides a "follow" mode …

c tail gnu-coreutils gnu-fileutils
write to a file after piping output from tail -f through to grep

I'm looking to write to a file after piping output from tail -f through to grep. Say,write to a …

linux unix grep tail centos5
Value of the last element of a list

how to get the value of the last element of a List? I've noted that List.hd (or .Head) return …

list f# reverse tail
How can I follow a file like "Tail -f" does in Java without holding the file open (Prevent rename/delete)

i'd like to "Tail -f" a lot of logfiles from within a java app. I've gotten this to work by …

java file tail logfile