首页 > 代码库 > Linux命令之WC

Linux命令之WC

$ wc story.txt
39 237 1901 story.txt
● Use -l for only line count
● Use -w for only word count
● Use -c for only byte count
● Use -m for character count (not displayed)