Talk:Tail (Unix)

From Wikipedia, the free encyclopedia
Jump to: navigation, search
WikiProject Linux  
WikiProject icon This article is within the scope of WikiProject Linux, a collaborative effort to improve the coverage of Linux on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
 ???  This article has not yet received a rating on the project's quality scale.
 ???  This article has not yet received a rating on the project's importance scale.
 
WikiProject Software / Computing   
WikiProject icon This article is within the scope of WikiProject Software, a collaborative effort to improve the coverage of software on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
 ???  This article has not yet received a rating on the project's quality scale.
 ???  This article has not yet received a rating on the project's importance scale.
Taskforce icon
This article is supported by WikiProject Computing.
 

I removed this text from the article:

This displays the last 15 bytes of all files starting with foo:
tail -15c foo*

This example is misleading - it would only should the last 15 chars of the last file in the list, not the last 15c from each file.

The example below would work as a shell script or command line, but it might not be relevant to the article:

for FILE in foo*
do
  echo -->$FILE<---
  tail -15c $FILE
done

--Unixguy 12:56, 27 June 2006 (UTC)

exclude obsolete usage[edit]

Is it just confusing to include obsolete usage and should be removed? DGerman (talk) 17:33, 23 April 2013 (UTC)

Probably not, it is in common use still. jni (delete)...just not interested 09:01, 30 January 2014 (UTC)

Just the GNU version[edit]

This article documents the GNU version of tail to the exclusion of all others. That probably should be mentioned in it somewhere. Wocky (talk) 06:58, 25 March 2014 (UTC)

should take a search string option[edit]

tail -e pattern

should print everything from the last occurrence of pattern to the end. This would be useful for some kinds of log file.

Encyclopedant (talk) 21:49, 31 March 2015 (UTC)