Apr
13
TTT Part 1 of n – Command Shells
Filed Under System Administration, Computers & Tech on April 13, 2013 | 6 Comments
I have no idea whether or not this idea is going to work out, but on this week’s Chit Chat Across the Pond segment on the NosillaCast Mac Podcast (to be released Sunday evening PST) I’m going to try start what will hopefully be an on-going series of short un-intimidating segments to gently introduce Mac users to the power contained within the OS X Terminal app. I’m on with Allison every second week, and I’ll have other topics to talk about, so the most frequent the instalments in this series could be would be bi-weekly, but I think they’ll turn out to be closer to monthly on average. While the focus will be on OS X, the majority of the content will be equally applicable to any other Unix or Linux operating system.
In the last CCATP we did a very detailed segment on email security, and despite the fact that with the benefit of hind-sight I realise it was too much to do at once and should have been split into two segments, it received the strongest listener response of anything of any of my many contributions to the NosillaCast in the last 5 or more years. I hope I’m right in interpreting that as evidence that there are a lot of NosillaCast listeners who want to get a little more technical, and get their hands dirty with some good old-fashioned nerdery!
Jun
17
WebifyImages.pm – My Image Editing Scripts (v0.2)
Filed Under Photography, Software Development, Computers & Tech on June 17, 2012 | 6 Comments
Yesterday I posted my thoughts on watermarking images for uploading to the web. This post formed the basis of myself and Allison Sheridan’s discussions in the Chit Chat Across the Pond segment on tonight’s Nosillacast Mac Podcast. During the discussion we talked a little about how I watermark my images, and I realised that I hadn’t released a version of my image processing scripts since 2008! I promised I’d remedy that, so today, after a little tidying up, I’m releasing the current snapshot of my scripts under the FreeBSD license.
I’m not releasing these scripts as a polished software package that’s ready to use, but rather, as a starting point for anyone who wants to create their own watermarking scripts. If you’re not prepared to get stuck into the command line and a little Perl (VERY little is needed mind), these scripts are of no use to you!
The scripts rely on the free and open source ImageMagick command line image editing tools, so you’ll need to install ImageMagick before you get stuck in. If you’re running OS X, I’d recommend installing ImageMagick via the free and open source MacPorts package manager.
Jun
17
Bwana – Easier to Read Man Pages on OS X
Filed Under System Administration, Computers & Tech on June 17, 2007 | 1 Comment
Bwana is a very simple app that allows Safari to render Unix Manual Pages (man pages). The man pages are rendered as HTML making them easier to read with the addition of some simple text formating and allowing easy linking to other related man pages. Installation is also trivial, just download, expand, and drag and drop into the Applications->Utilities
folder. Then, by some OS X black magic URLs of the form man:[command]
(e.g. the man page for the ls
command will be found at the URL man:ls
) will start working in Safari. It really is that simple! To make things even sweeter this app is free and open source (released under the MIT License). There really isn’t anything more to say about this app, it’s yet another example of a small, simple, OS X app that does one thing perfectly.
[tags]man pages, OS X, Open Source, Freeware, Safari[/tags]
Jan
27
Some Simple Little Linux Commands You Can Never Remember When You Need Them
Filed Under Computers & Tech, System Administration on January 27, 2006 | Leave a Comment
I’m sure you know the feeling, you’re on a server, some form of excrement has just hit some kind of spinning thing and know that netstat will do what you want if only you could remember the bloody set of options you needed. Well, from now on I’m adding all those commands to this Blog entry so next time that happens I’ll know here to look!
This page will be continually updated but I’m gonna start with a few of those commands I’ve needed in the last few days that are currently stuck to my display in little yellow PostIt Notes.
What Processes are Listening on What TCP Ports
When you need to easily see what a server is serving in a hurry use:
netstat -lntp
Creating and Extracting tar.gz Files Just Using tar
I used to always create and extract tar.gz files by using both tar and gzip and sticking them together with a pipe (I’m sure that nasty Sun E450 was in some way to blame for me getting into that habit). This command was always long and I never remembered the syntax. So here’s the easy way to create a tar.gz archive:
tar -pczf name_of_your_archive.tar.gz /path/to/directory
(You should leave out the p if you don’t want to preserve the file permissions). And here is how to extract one:
tar -xzf file.tar.gz