How to compare timestamp of a logfile and generate error in case its 72 hours old ?
Here in this article, we will look at a script created to check a logfile and if its older than 3 days i.e. 72 hours then send an email to...
Here we will find tips and tricks for shell script creation in linux.
I. Introduction Let us have a look at an interesting tip today to turn off/on the bell sound during TAB completion. We will achieve this by changing inputrc file configuration....
In Linux, Character Classes is a group of characters which are responsible to perform pattern matching. Character Classes are defined using “[]” i.e. square brackets and matches any of the...
Today we will look at a very basic article to know various ways to create a file in linux. Lets see the various commands below. 1. Touch command [root@ngelinux ]#...
Variables in Linux can be made read only using the keyword “readonly”. For example, if we want a variable to contain a value say 10 and must not be changed...
1. Introduction IFS stands for Internal Field Separator in Linux. $IFS is one of the system variable with default value “space, tab, and a new line”. This system variable signifies...
An interesting thing to do when creating shell scripts is to know how to color some text/output and blink it. Today in this article , we will look how to...
Positional parameters as its name suggests are different positional variables automatically defined by linux shell. The shell automatically assigns the passed parameters according to their position in 9 different parameters(1...