I'd imagine you'd close them by stopping the services that have them open.
631 is for CUPS, so it'd probably be something like "/etc/rc.d/rc.cups stop".
80 is for a webserver. For Apache, you could try "/etc/rc.d/rc.httpd stop" or maybe just "httpd stop".
21 is for FTP but I dunno what script you'd use for that as I don't have an FTP server running on my machine.
Not sure about the others. Remember you need to run these commands as root and without the quotes.
|