Find large files

Want to search for files over a certain size on your linux box? find / -xdev  -size +100000k -print This will find files larger than 100MB within the root and it’s subdirectories without venturing onto Read more

Shh.. I'm listening

These ports may be listening on a typical webserver… PROT PORT# Usage —– ——– ——– tcp 993 imaps – Encrypted IMAP mail tcp 995 pop3 – Encrypted POP3 mail tcp 3306 mysql – MySQL database Read more

Useful Linux commands

Really these are ways for finding the spoor left by rootkits and such… and partially dealing with them. Best practise is to rebuild the server once it’s been rooted, but these techniques may give you Read more

Plesk domain aliasing

I’ve just setup a serveralias for one of my domains on my PLesk managed server. e.g. example.co.uk aliases to example.com To do this properly, you need to add the lines ServerAlias www.example.co.uk ServerAlias example.co.uk to Read more