/Tony Lawrence

About Tony Lawrence

This author has not yet filled in any details.
So far Tony Lawrence has created 47 blog entries.

Random subroutines in Perl

2010-05-25T22:50:15+00:00 November 23rd, 2007|CGI and Perl|

I'll bet your first question might be "why on earth would I ever want to call subroutines randomly?". Admittedly, it isn't a need that comes up that often, but (for example) it's used right here on this very page that you are reading.

SMB Caching

2010-05-25T23:01:27+00:00 June 1st, 2006|Linux|

A customer had a particular shared folder setup so that only he had access to it. This happened to be a SCO Visionfs system, but you could run into similar problems with Samba.

Mound –Bind

2010-05-25T23:02:19+00:00 April 29th, 2006|Linux|

Most Linux and Unix file systems don't allow hard links to directories (except for the . and .. entries that mkdir creates itself). The reasons are are pretty obvious: you could really confuse programs like ls (ls -R), find and of course fsck if you created links that recursed back to themselves.

Lost Root Password – Linux

2010-05-25T23:02:14+00:00 April 13th, 2006|Linux|

Have you ever forgotten your root password? I have a very good memory. I remember most of my client's passwords (there are a few I forget regularly for no reason that I can understand, but I really do know most), I remember telephone numbers, and of course I know my own passwords.

Enabling Linux Telnet

2010-05-25T23:02:25+00:00 March 8th, 2006|Linux|

This has to be one of the more common support calls that I get. The telnet daemon is no longer usually installed by default, so people are surprised when their newly installed Linux system won't answer telnets.

Undoing Bad Archives

2010-05-25T23:04:33+00:00 October 19th, 2005|Linux|

Most zip or tar archives are made so that they unpack into a sub-directory. However, every now and then you run into one that wasn't done that way, and if you happen to unpack it in a directory that already has files, you end up with confusion: what was just unpacked and what was already here?


2010-05-25T23:04:08+00:00 October 19th, 2005|Linux|

Linux "symlinks" is a handy utility for managing symbolic links. It can clean up the sort of problems that come from carelesness when creating symbolic links.

ps sorting

2010-05-25T23:08:42+00:00 September 2nd, 2005|Linux|

In the beginning, when large creatures lumbered through damp tropical forests and furry mammals hid quivering in their burrows, "ps" had no built in abilty to change its sort order. You got what it gave, and if you wanted it otherwise, you ran it through "sort" yourself. That is the Unix Way: small tools, working together with pipelines.