Some examples in Perl:
- Recursive check of file permissions, very useful on UNIX systems when default priorities are bad, this script is web server oriented as it gives executable permissions to all directories, all the files readable et all the .cgi executables.
- Shows who is on the system now, it is a CGI script to be used with a Web Server(e.g. Apache) and a browser (e.g. Netscape 4).
- Displays a message via a browser with xmessage, overy useful to talk interactively ... take care on display permissions!
- A first pest which kills all X clients on a DISPLAY ...
- My worse pest shows all the X11 clients on a DISPLAY ... to be used with extreme care !
- Converts the accents in HTML through StdIN and STDOUT!
- Puts execution tights on CGI scripts and normals on others.
- Rename the files script.1 to script.999999 in a format script.000001 normalised for sorting.
- Takes the list of RPM and gives back a list to use with freshrpms.
- Resets the ownership and the permissions on all the installed RPMs.
- Watch over if a file exists, send it by mail, save it and destroys it. To be used with CRON.
- Takes back an URL, through proxy if necessary, and gives back its content (ideal to make dynamics pages with SSI or to synchronize two web sites).
- Sends mail from files, useful to send mail composed without direct connexion to the Internet.
- Example of a Web Server, coresponding to the protocol defined in Distributed server of web users.
- Test server launched on port 12345, shows the client's protocol (e.g. Netscape).
To get more informations, go and see my CGI scripts in download and my ressources for the Web