| Tips Linux Explorers | All Things Linux Forum | Great Linux Links | LinuxClues.com | Hometown |
| QUOTE |
|
-c, print the byte counts -m, print the character counts -l, print the new line counts -L, print the length of the longest line -w, print the word counts |
| CODE |
| $ wc -w test.txt 184 Desktop/text.txt |
| CODE |
| $ wc -l test.txt 50 Desktop/text.txt |
| CODE |
| $ wc -m test.txt 1045 Desktop/text.txt |
| CODE |
| $ wc -L test.txt 118 Desktop/text.txt |
| CODE |
| $ wc -w test.txt xgl.doc NewTips.txt post.kwd 184 test.txt 280 xgl.doc 209 NewTips.txt 1161 post.kwd 1834 total |
Bruno
| Tips Linux Explorers | All Things Linux Forum | Great Linux Links | LinuxClues.com | Hometown |