Misc CMDs

Looping:
for i in $(seq 0 10); do ls; done

watch -n 1 ls -la
watch -n 1 cat someting.txt

Find Strings in files
grep -H -i "Some Text Here" * -R | cut -d: -f1 | sort -u

Grep without comment
grep -vE '^#|^;|^$' /etc/php.ini

Find files and list
locate .pem |xargs ls -lah

Copy to clipboard
cat test.txt | xclip -selection clipboard

SAROOT