Friday, February 6, 2009

UNIX command - count number of lines of text file





Here's the command to count the number of lines of text file in UNIX. [/home/username]wc -l anyfile.txt wc command above stands for word count. The switch -l means that it will count the number of lines in anyfile.txt text file. That's one of the basic commands in UNIX. I hope that this command could help some other UNIX users in the world. - BSEO Ben de Leon



No comments:

Post a Comment