Linux

chmod only files or folders

This post is just a personal note on how to chmod files or directories recursively Recursive chmod only files within this folder find . -type f -exec chmod 0600 {} ; Recursive chmod only folders within this folder find . -type d -exec chmod 0755 {} ;

Read More
Misc

Howto combine two columns into one in mysql

This is how you can combine (or concatenate or merge) data from two table columns into one column using a mysql SQL query. SELECT CONCAT(firstname,lastname) AS ‘name’ FROM tablename The result would be “firstname lastname” If you would like to insert this data into a new column INSERT INTO tablename (full_name) SELECT CONCAT(firstname,lastname) AS ‘name’ […]

Read More
Network

Search Wikipedia using the command line

This post describes how you can search Wikipedia from the command line using a DNS tool like nslookup in Windows or dig in linux. Handy if you don’t wan’t to open a Internet browser to do a simple Wikipedia query. Windows This is how it’s done in Windows Choose Start -> Run Write “cmd” and […]

Read More
Misc

Getting VMware vSphere Client to run on Windows 7 RTM

This post describes how you can get your VMware vSphere Client version 4 running on a 32-bit Windows 7 (RTM) installation until VMware makes an update to fix this Microsoft .Net problem. Be aware that this method of getting the client to run is not recommended in a production environment since you are running the […]

Read More
Linux

Suspend a VMware Workstation host from command line

This post gives a short description of how to suspend a VMware Workstation 6.5.x guest/VM on a Ubuntu 9.04 Workstation but it shouldn’t be any problem to follow it on other linux distributions. Lately I’ve experienced that one of my VMware Workstation host lock up and my mouse cursor stops responding. The keyboard doesn’t let […]

Read More