Monday - December 11, 2006Nice OS X Command Line GuideEven 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......
Tuesday - November 28, 2006ssh without password interactionOK, 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.....
Wednesday - November 22, 2006mounting a volume in a scriptdiskutil requires the use of a device name to
mount a disk....
Wednesday - November 15, 2006Using 'wc' to check the size of your project.Navigate to your project folder on the command
line and ....
Monday - November 06, 2006Using launchdNow 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....
Monday - October 02, 2006Thursday - May 18, 2006Using niutil to get user and group infoSome common niutil commands....
Thursday - May 04, 2006DarwinPorts and example installation of tcpflow portI 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.....
Monday - March 27, 2006Operating 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 Friday - February 17, 2006zip/unzip/gzip/gunzip command usagezip/unzip, gzip/gunzip and many similar utilities
are built into OS X. There is no man page, but basic usage is
easy....
Monday - August 15, 2005 |
|