Shell program to count Vowels, blank spaces, characters, number of line and symbols from a file.
{ 9 comments }
Shell program to count Vowels, blank spaces, characters, number of line and symbols from a file.
{ 9 comments }
UNIX / Linux shell script like a more command. It asks the user name, the name of the file on command prompt and displays only the 15 lines of the file at a time.
{ 3 comments }
UNIX shell script which deletes all even numbered line from a text file.
{ 4 comments }
A shell script that, given a file name as the argument will write the even numbered line to a file with name evenfile and odd numbered lines in a text file called oddfile.
{ 1 comment }
This script also covers following techniques: => Reading input text file line by line => Reading and processing words in input => Convert word to lowercase #!/bin/bash# Write a shell script that counts English language articles (a, an, the) # in a given text file.## ——————————————————————–# This is a free shell script under GNU GPL [...]
{ 1 comment }
A Linux / UNIX Shell Script To Monitor Services Such As Web / Http, Ssh, Mail Server and send an email if they are down.
{ 33 comments }
Shell script to monitor or watch the disk space and send an email alert if the (free avilable) percentage of space is >= 90% #!/bin/sh# Shell script to monitor or watch the disk space# It will send an email to $ADMIN, if the (free avilable) percentage # of space is >= 90% # ————————————————————————-# Copyright [...]
{ 36 comments }
This script also demonstrate how to use arrays under bash shell script. #!/bin/bash# Bash shell script to reverse text file contain i.e. concatenate files and# print on the standard output in reverse. This script also demonstrate how # to use arrays under bash shell script.# ————————————————————————-# Copyright (c) 2005 nixCraft project <http://cyberciti.biz/fb/># This script is [...]
{ 6 comments }
Script utility to read a file line line version 2. This is simpler version of readline script, it also demonstrate how to process text data file line by line and then separate line in fields, so that you can process it according to your need. #!/bin/bash# # Shell script utility to read a file line [...]
{ 3 comments }