+64-3-3595735

Tag Archives: Linux

Recursive Actions On Folders using BASH in Linux

Previously I posted how to reset file permissions recursively using Linux Bash / Command Line. Building on that is how to recursively remove files and folders using bash on a Linux box. find . -type d -name ‘folder_*_name’ -exec rm -r {} + Using find to find a folder (-type d) or a file (-type […]

WordPress Vulnerability – Fix for NGINX

WordPress has a vulnerability that enables malicious hackers to commit a DOS attack against WordPress websites. According to the vulnerability DB ( https://wpvulndb.com/vulnerabilities/9021 ) all recent versions of WordPress are vulnerable. (version 4.9.4 and below) WordPress has not yet released a patch but if you are running the nginx web server there is a mitigation […]