Talk:Tail (Unix)

From Wikipedia, the free encyclopedia

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)