CLI essential Linux commands

Find file name 
find / -type f -name

Find folder name
find / -type d -name ‘folder name’

Find text
find /into/this/dir -name ‘*.php’ -print0 | xargs -r -0 grep -l texttofind

Sort file size in reverse order
ls -lSr

Show last rows of file
tail -f filename

Display active process
ps -w | grep spamd

info processor architecture
cat /proc/cpuinfo | grep model

Zip compress
zip -rv folder_to_zip
unzip -v

To extract all members of into the current directory only:
unzip -j letters

To test, printing only a summary message indicating whether the archive is OK or not:
unzip -tq letters

To test all zipfiles in the current directory, printing only the summaries:
unzip -tq \*.zip

CLI essential Linux commands