There are two ways I found to use the ftp commands in shell script. One is using curl and other is normal ftp session.
Continue Reading »
How to use ftp in shell script
Shell script to switch between different configurations.
A small shell script to switch between configurations quickly. Here you can run the script and change the desired configuration on the fly. In the example below we are switching between the Listen port from 80 and 808. For this we need the httpd.conf file and for the first time we also need to create entries for both the ports manually.
Continue Reading »