+64-3-3595735

Category Archives: Linux

Installing VMWare Tools – The path “” is not valid path to the gcc binary

The issue of the gcc binary not being found has old answers when looked up in Google. The answers also offer a solution that is not suitable. This answer is for when installing VMWare tools on Ubuntu, Lubuntu, Mint Linux etc but the principles will be the same for RedHat, Debian, Suse CentOs etc – […]

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 […]

Reset permissions for files and folders in Linux / Bash

Three simple command lines to sort out folder and file permission and ownership issues in Linux. The reason for using two different commends for the files and folders is you don’t want executable bit set on files (unless you plan on running it) and folders don’t work well without it. To change all the directories […]