• Mac OS X,  Unix

    Hello Cruel Perl

    touch helloperl.pl Open helloperl.pl and paste the following in there: print "Hello Cruel Perln"; Make sure you have executable permissions for helloperl.pl. Then run: perl helloperl.pl

  • cloud,  Mass Deployment,  Ubuntu,  Unix

    Scripting in Google ChromeOS

    I recently got my hands on one of those Google ChromeBooks (Cr-48). Interesting to have an operating system that is just a web browser. But, as anyone likely reading this article already knows, the graphical interface is the web browser and the operating system is still Linux. But what version? Well, let’s go on a journey together. First, you need ChromeOS. If you’ve got a ChromeBook this is a pretty easy thing to get. If not, check http://getchrome.eu/download.php for a USB or optical download that can be run live (or even in a virtual machine). Or, if you know that you’re going to be using a virtual machine, consider a pre-built…

  • Mac OS X,  Mac OS X Server,  Mac Security,  Mass Deployment

    Touching Date Changes

    No, I’m not getting all teary-eyed about something…  Instead I’m thinking about changing the modification date stamp on a file.  Let’s take a fairly innocuous and hidden file, such as the the COOKIES file located in the /usr/share/emacs/22.1/etc directory.  Since I’ve already tried the recipe, I’m going to go ahead and replace the contents of this file with the contents of the mutex script posted a few days ago. This leaves the date the file was created altered as can be seen by doing an ls -al on the file: -rw-r–r– 1 root wheel 4968 Apr 21 22:04 /usr/share/emacs/22.1/etc/COOKIES We’re going to go a step further and use stat on the file to…

  • Mac OS X,  Mac OS X Server,  VMware

    Mac OS X: Running Non-Server OSen on VMware

    Beware: if you proceed with this you will violate the EULA of Mac OS X. In fact, reading this article may very well violate said EULA. In fact, reading this warning may… Catch my drift? So Mac OS X is not supported in VMware beta 2. Well, like many things that doesn’t mean that you can’t make it work. To get Mac OS X (not Mac OS X Server) to install into a VMware Fusion beta 2 VM use the following command, create an ISO with the name Mac OS X Install DVD that is a duplicate of the installer DVD and mount it: touch “/Volumes/Mac OS X Install DVD/System/Library/CoreServices/ServerVersion.plist”…