Useful commands

wc filename - word count
- wc -l - lines count - wc -w - words count - wc -c - chars count

diff file1 file2 - show difference between files

less - show large output paginated. Example: diff file1 file2 | less

du --max-depth - disk usage, show sizes of files

df - disks free, show summary about disks

tar czvf - file | gpg --symmetric --cipher-algo aes256 -o passwordprotectedarchive.tar.gz.gpg - pack and create password protected encrypted file from directory or files

gpg -d passwordprotectedarchive.tar.gz.gpg | tar xzvf - - decrypt and unpack password protected file