WordCount & Copy
16 February 2024 at 17:41
wc filename
wc command calculates a fileβs word, line, character, or byte count.
wc -l filename
It displays the count of number of lines.
wc -c filename
It displays count of bytes.
wc -m filename
It displays count of characters
copy command
cp filename1 filename2
to copy filename 1 to filaname2 for backup purpose