This is an old revision of the document!
fdupes --recurse dir1/ dir2/
grep -rnw '/path/to/files/' -e "pattern"
find / -type s
diff -y file1 file2 | less
diff <(ls -a /dir1/) <(ls -a /dir 2/)
or compare
comm <(ls -a /dir/) <(ls -a /dir2/)
kill $(ps aux | grep "$process_term" | grep -v 'grep' | awk '{print $2}')
cat /dev/null > modsec_audit.log
See also “log rotate” on mL wiki.
php -r "print phpinfo();" | grep ".ini"