UNIX Command Example: head - Read Beginning of File
Logon to UNIX command prompt then copy & past the bellow code to get some interesting result:
head country.txt head -3 country.txt
Here "head" is the command to Read first few lines of a file. Default first 10 lines "head -3" Read first 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..