Monday - December 11, 2006

Nice OS X Command Line Guide


Even though the guide is named "OS X Server Command Line Administration", anyone who is familializing themselves with unix on OS X will benefit greatly from the first 6 chapters of this handy reference manual......

Posted at 11:27 AM     Read More  

Tuesday - November 28, 2006

ssh without password interaction


OK, interacting with my build and deploy script to enter the server password for scp was a pain, so I implemented dsa authentication keys instead. Pretty easy.....

Posted at 02:54 PM     Read More  

Wednesday - November 22, 2006

mounting a volume in a script


diskutil requires the use of a device name to mount a disk....

Posted at 02:47 PM     Read More  

Wednesday - November 15, 2006

Using 'wc' to check the size of your project.


Navigate to your project folder on the command line and ....

Posted at 12:51 PM     Read More  

Monday - November 06, 2006

Using launchd


Now that we have Tiger, launchd seems to be the preferred way to run regular tasks instead of cron and besides just editing the crontab file with a new task like I used to do does not seem to work, so rather than mucking around with it I decided to learn how to use launchd. Setting up a launchd task to run daily is pretty straighforward....

Posted at 11:49 AM     Read More  

Monday - October 02, 2006

SIPS


sips is a great little command line utility built into OS X....

Posted at 09:50 AM     Read More  

Thursday - May 18, 2006

Using niutil to get user and group info


Some common niutil commands....

Posted at 12:26 AM     Read More  

Thursday - May 04, 2006

DarwinPorts and example installation of tcpflow port


I needed to use tcpflow the other day for the first time since I got my Intel Macbook Pro running Tiger. I downloaded and installed Marc Liyanage's Panther installer sicne no Tiger installer available. I figured it might work, but it did not. I really needed to use this excellent tool, so after a quick Google search, I came across the tcpflow port in DarwinPorts. Now I was familiar with DarwinPorts, but had never looked at it in detail or installed it. So, after understanding it a little, I just installed it and then used it to install (download, fetch, make, build, install, etc) in one easy command. This was a really simple, smooth and pleasant experience.....

Posted at 08:23 AM     Read More  

Monday - March 27, 2006

Operating System Version Info (uname & sw_vers)


To find out what Darwin version, etc. you are using use
$ uname -vp

To find out OS X version info use
$ sw_vers

Posted at 10:39 AM     Read More  

Friday - February 17, 2006

zip/unzip/gzip/gunzip command usage


zip/unzip, gzip/gunzip and many similar utilities are built into OS X. There is no man page, but basic usage is easy....

Posted at 05:55 AM     Read More  

Monday - August 15, 2005

Looking at your WebObjects processes


ps and lsof are useful .......

Posted at 04:08 PM     Read More  


Published by