count files in a folder: ls -1 | wc -l
Import/export mysql dump files. Useful for very large files that cannot be accepted by phpMyAdmin
tar -zcvf photos.tar.gz photos/