This website recently got a major rebuild; if you're missing something, let Lorna know.

my first shell script



I have a new job, which involves working on an AIX box over SSH. It the first time I’ve used command line to do everything I do in a day and its an education – especially as I’m new to korn shell.

Today I wrote my first shell script, it sets the title of my putty window so I don’t get confused which window is which. Here it is:

echo "\033]0;$PWD\007";
if test -n $1
then
        echo "\033]0;$1\007";
fi

In: tech