• 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,  Unix

    Creating Directories Using -p with mkdir

    I was helping someone out the other day and was VNC’d into their server watching them work.  I asked them to make a directory about 5 levels deep into the file system.  They proceeded to make each directory one by one using mkdir.  When they were done, I actually removed them all so I could spend a second to show them how to do so much quicker…  Let’s say the directory you need created is /tmp/usr/tmp.  Rather than using 3 mkdir commands and cd’ing in between it would actually behoove one to go about using the -p option with the mkdir command.  To make this directory structure you could actually…