Change Permissions of Specific File Types

To change the file permissions for all PHP files to 754: find . -type f -name ‘*.php’ -exec chmod 754 {} \; To find all files with permissions 754: find . -perm -754 To find all files that are not writable by the owner: find . ! -perm -u+w

Fix Line Breaks

To convert all files: $ find . -type f -name -exec dos2unix {} \; To convert specific files (by type): $ find . -type f \( -name “*.php” -o -name “*.txt” -o -name “*.css” \) -exec dos2unix {} \;

On the obsolescence of the Human species

Humans aren’t the fastest, strongest, biggest, smallest, or most efficient creatures. The only advantage we have is a well developed cerebral cortex. Of course, superior intellect can allow us to compensate for the areas which we lack. We currently have a problem with said superior intellect however. If we are unable to evolve to overcome… Continue reading On the obsolescence of the Human species