Your addition works for me. What editor are you using to create N900finder.sh?
I made the script using vi on my nokia but if you are not used to this editor this is probably not what you would like to use ... also nokia didn't really fix the keyboard for shell scripting as it takes two hands and a nose to type a pipe symbol.
If enough people are interested in this we could just wrap it up to a .deb for easy installation.
Just to throw another 2p in the pot, if we want a N900 finder, couldnt we use a system like the people finder in TuneWiki, with a map full of N900 users?