Difference between revisions of "Tail"

From Hackepedia
Jump to navigationJump to search
m (New page: Tail takes the last few lines in a file, like so: francisco$ tail -1 /etc/passwd testuser:*:1001:1001:test:/usr/home/testuser:/bin/ksh This can also be achieve with sed and awk...)
 
(No difference)

Latest revision as of 09:59, 3 July 2008

Tail takes the last few lines in a file, like so:

francisco$ tail -1 /etc/passwd
testuser:*:1001:1001:test:/usr/home/testuser:/bin/ksh

This can also be achieve with sed and awk, but requires a bit more programming in them.