Linux Wc command used to count the no of words in Linux.
Syntax #wc file name
After executing this command it will return the no of character
No of line and no of word
Example now it will display how many character present in the /etc/passwd directory
[root@localhost ~]# wc /etc/passwd
40 59 1775 /etc/passwd
-w option display word count
[root@localhost ~]# wc -w /etc/passwd
59 /etc/passwd
-l option display line count
[root@localhost ~]# wc -l /etc/passwd
40 /etc/passwd
Friday, May 14, 2010
Linux wc command Gathering Text statistics count Line Word Character
Subscribe to:
Post Comments (Atom)
Labels
3D-2D Translation
Algorithms
Batch Programming
C language
C world
C++
DBMS
Ebook
Games
JAVA
Java Programs
JNTU MATERIALS
JNTU PREVIOUS QUESTION PAPERS
JNTU SYLLABUS BOOKS
LAB MANUALS
Linux
Mobile softwares
Networking
Online Programs
PC TIPS
Software Diagrams
Software Engineering
Softwares
System Software
Visual Basic
0 comments:
Post a Comment