Top "Tail" questions

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

How To watch a file write in PHP?

I want to make movement such as the tail command with PHP, but how may watch append to the file?

php tail
How can I get the source code for the linux utility tail?

this command is really very useful but where I can get the source code to see what is going on …

linux tail uclinux
How to get the last lines of a file except the first 20?

Say I have a file with any number of lines, say, 125. I want to get all the lines except the …

shell unix tail unix-head
Is it possible to use tail and grep in combination?

I am trying to tail a user in production log. Is it possible to use tail -f grep "username"

linux grep pipeline tail
shell: delete the last line of a huge text log file

I asked a question regarding popping the last line of a text file in PHP, and now, is it possible …

shell tail
tail and grep log and mail (linux)

i want to tail log file with grep and sent it via mail like: tail -f /var/log/foo.log | …

email shell grep tail
Do a tail -F until matching a pattern

I want to do a tail -F on a file until matching a pattern. I found a way using awk, …

shell sed awk tcl tail
python pandas select both head and tail

For a DataFrame in Pandas, how can I select both the first 5 values and last 5 values? For example In [11]: df …

python pandas slice tail head
How to make tail display only the lines that have a specific text?

How to make tail display only the lines that have a specific text? If the search criteria can be a …

shell unix tail
tail multiple files and grep the output

I would like to grep a pattern from multiple log files which are being constantly updated by some processes and …

unix grep tail