Auto Delete Backup Files Using Shell Script Cron Job

Introduction In this shell programming example, I am going to show you how to delete backup files automatically using shell script cron job. So, I will create a shell script in Unix programming and setup a cron job to automate the delete process. This automatic job will save your manual efforts of deleting files from the folders. You don’t need…

Cron Job Shell Script To Auto Backup Web Site Files

Web Site Backup Here I am going to show you how to setup auto backup web site files using shell script cron job. In the world of web, it is recommended that you take care of your web site files by taking backups of them frequently. If anything goes wrong so that you can take an appropriate action on your…

Monitor health of a URL using Unix

This blog will tell you how to write a script to check whether a given web service or URL is up or not by accessing a given URL. Occasinally, your Apache (or other) web server might become unresponsive. So here we will get an idea how to write a script to detect this issue.

Using arguments to a Unix Shell Script

Introduction This tutorial will show you an example on using arguments to a unix shell script or programming. Here we will create a shell script file for showing the example. The advantage of using urguments is you can pass the value dynamically as per the requirements. You don’t need to edit the shell script file everytime you pass the different…

Creating Menu in Unix Shell Programming

Introduction This tutorial will show you how to create menu in Unix Shell Programming. You know that menu gives user options to perform tasks smoothly because without menu user may not be able to understand what to do when a user has to choose an operation from multiple options.

Printing pyramid with stars in Unix Shell Programming

The below unix shell programming will show you an example on printing pyramid with stars in unix shell programming. This tutorial will also show how to use if else condition, how to use for loop in shell programming. You will also see how to take input from keyboard.