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.
We will first execute the command ps -o pid,sess,cmd afx to figure out which cron job chokes up the system in Linux. The above command will print out the process tree of all the processes running the system.
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. Prerequisites Knowledge of unix
This tutorial will show you how to create menu in Unix Shell Programming. We know that menu gives user options to perform tasks smoothly because without menu user may not be able to understand what to do.
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. We will also see how to take input from keyboard.