Change directories to the directory where your target file is located, then type:

wc -l filename
replacing filename with the actual name of your file.

This should output:

$ wc -m test.php
427 test.php

John John (304)
3 minutes

Need to change the case of characters to all caps or all lowercase? This is easily done using Vim. This guide will show you how to change the case of characters in Vim.