Tidy list of what's listening on your ports

1

This chunk of code will show you a nice list of ports on which you have something listening.


#!/bin/sh
# listen - parse netstat -an output for listeners
netstat -an | awk '
BEGIN {
printf("%12s\t%5s\t%5s\n", "ADDRESS", "PROT", "PORT#")
printf("%12s\t%5s\t%5s\n", "-------", "----", "-----")
}
/ LISTEN / {
split($4,ip,":")
printf("%12s\t%5s\t%5s\n", ip[1], $1, ip[2])
}
'

Full-time freelancing: 10 things learned in 180 days ~ Authentic Boredom

0

This blog comes highly recommended, and this article in particular struck home with most aspects of my business life.
There are others out there! :)

Full-time freelancing: 10 things learned in 180 days ~ Authentic Boredom

Useful Web developer links

5

I just compiled this list of sites I regularly use and think are top notch
for a friend. Thought it was worth sharing.

Firefox and extensions – web browser
http://www.mozilla.org/products/firefox/
https://addons.mozilla.org/extensions/moreinfo.php?id=60 -
Essential extension. I think might come as standard
https://addons.mozilla.org/extensions/moreinfo.php?id=376 -
improves search box
https://addons.mozilla.org/extensions/moreinfo.php?id=343 -
improves search box
https://addons.mozilla.org/extensions/moreinfo.php?id=271 -
adds color picker/zoom and lots more
https://addons.mozilla.org/extensions/moreinfo.php?id=39 -
adds mouse gestures
https://addons.mozilla.org/extensions/moreinfo.php?id=216 -
aids debugging javascript

PHP tutorials – for creating dynamic web pages
http://www.w3schools.com/php/default.asp

SQL tutorials – language used to talk/ask questions of databases… i.e. mySQL
http://www.w3schools.com/sql/default.asp
http://sqlzoo.net/

Javascript Reference – windows help file
http://tinyurl.com/7rk6

PHP reference – windows help file integrates into Dreamweaver
http://www.tecnorama.org/document.php?id_doc=49

Sites for reading
http://sitepoint.com/ – Good all rounder – excellent newsletters, don’t be
scared to signup… they’re not spammers.
http://alistapart.com/ – Good RSS feed. Essential reading for good design practise
http://useit.com/ – Useability information. Some very good stuff but some parts
are a bit too opinionated.. in my erm, opinion

Resource sites
http://sourceforge.net/ – Open Source software

Photo Gallery update.

0

I’ve added some new photos to the gallery…
Rodney from Scunthorpe.. aged 9

suexec

0

While trying to get a cgi script working on a PLesk managed box, I came across this error in /etc/httpd/logs/suexec_log

cannot stat program: (blahdeblah.cgi)

An explanation of this vague and misguiding message can be found here. It seems that’s a complaint because of the use of a symlink to point to the script.

Sloppy systems programming

Hello world!

0

Welcome to my first venture into blogging. This braindump will mostly contain useful tidbits discovered through my web development work… and will therefore petrify and possibly putrify the thought patterns of most of y’all.

Ta

Go to Top