UNIX Command Example: tail - Read Last Portion of File
Logon to UNIX command prompt then copy & past the bellow code to get some interesting result:
tail country.txt tail -3 country.txt
Here "tail" is the command to Read the last few lines of a file. Default 10 lines. "tail -3" Read last 3 lines. "country.txt" is the file holding country list of the world. If everything went well we should get some interesting result as follows:

No comments:
Post a Comment
leave your comments here..