🖥️wc

➡️This is a command-line reference manual for commands and command combinations that you don’t use often enough to remember it. This cheatsheet explains the wc command with important options and switches using examples.

▁ ▂ ▃ ▄ ꧁ 🔴☠ COMMANDLINE-KUNGFU WITH CHEATSHEETS ☠🔴꧂▅ ▃ ▂ ▁

#                ██╗    ██╗ ██████╗
#                ██║    ██║██╔════╝
#                ██║ █╗ ██║██║     
#                ██║███╗██║██║     
#                ╚███╔███╔╝╚██████╗
#                 ╚══╝╚══╝  ╚═════╝
                                  
                                 

wc 
# returns the number of lines, words, and bytes in a file. Can use -l, -w, -c to get just one of these. has options to only show character (-c), word (-w), or line (-l) counts.

wc -L 
# shows the length of the longest line in a file.

wc -c
# character

wc -w
# word
# If you need to just count words in some place that doesn't do it for you, you can usually just run wc -w, paste the *plain ascii text* into the terminal and press Ctrl-D when done. It will print a word count. Google Docs couldn't do this for me on a selected portion. :P

wc -l
# line 

#==============================#
# CMD WC
#==============================##==============================#
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░

  █║▌│║█║▌★ KALI ★ PARROT ★ DEBIAN 🔴 PENTESTING ★ HACKING ★ █║▌│║█║▌

              ██╗ ██╗ ██████╗  ██████╗ ██╗  ██╗███████╗██████╗
             ████████╗██╔══██╗██╔═══██╗╚██╗██╔╝██╔════╝██╔══██╗
             ╚██╔═██╔╝██║  ██║██║   ██║ ╚███╔╝ █████╗  ██║  ██║
             ████████╗██║  ██║██║   ██║ ██╔██╗ ██╔══╝  ██║  ██║
             ╚██╔═██╔╝██████╔╝╚██████╔╝██╔╝ ██╗███████╗██████╔╝
              ╚═╝ ╚═╝ ╚═════╝  ╚═════╝ ╚═╝  ╚═╝╚══════╝╚═════╝

               █║▌│║█║▌ WITH COMMANDLINE-KUNGFU POWER █║▌│║█║▌

░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░