grep for end of line

To grep for the end of the line.

Simply use the $.

grep 'endofline$'

Delete from full disk

If a disk gets 100% full and you get an error when attempting to delete files, find the files that you need to remove and so the below.

echo > file 

You will then be able to remove the file.

Heather's Paragraphs

Update: check out this for more up-to-date instructions:

1. Make sure you have the mod_headers Apache module installed. to do this check out /etc/apache2/mods-enabled/ and see if there’s a ‘headers.load’ in there. If there isn’t then just sudo ln -s /etc/apache2/mods-available/headers.load /etc/apache2/mods-enabled/headers.load

2. Add the Access-Control-Allow-Origin header to all HTTP responses. You can do this by adding the line Header set Access-Control-Allow-Origin "*" to the desired <Directory> section in your configuration file (like the /etc/apache2/sites-available/default file). Saying "*" will allow cross-site XHR requests from anywhere. You can say "" to only accept requests from that origin.

3. Reload apache server. sudo /etc/init.d/apache2 reload

Maybe this is really obvious to a lot of people, but it wasn’t to me, so there you go.

View original post

Great tutorial on setting up vCMA for remote access via the VMware iPad application!

Mohammad Alam - K'Base

This is a very nice post from Eric Siebert from his BLOG Helped me a lot and might help you.


After considering the security implications of managing a VMware infrastructure with an iPad, it’s time to install vCenter Mobile Access (vCMA) and connect it to the vSphere Client for iPad.

First, download the most recent copy of vCMA from the VMware Labs website. It’s available as either an Open Virtualization Format (OVF) file that can be imported into vCenter Server, or as a ZIP file with the virtual machine (VM) already deployed, which you can copy to a host and register. The OVF file is easier to install, so l will cover that method.

Download the OVF version to your workstation. It contains a small .ovf file and a 300 MB system.vmdk file.

Figure 1
(Click image for an enlarged view.)

Unzip the file…

View original post 719 more words