How to color a text/string in linux bash shell & make it blink ?
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...
Here we will find tips and tricks for shell script creation in linux.
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...
Today we will look how to search some text in a file and replace specific string on the searched line. For this, we will use sed command i.e. Linux Stream...
Today we will look at the regex to search/grep multiple characters or words from a file or output in linux. First create a file with below contents. [root@nglinux ]# cat...
Today we will look at the usage of dot “.” on Linux bash shell and how to use it in shell scripts to match a pattern. I. Usage of “.”...
Today in this post, we will look how to get length of a variable in linux whether its a string or integer. Getting variable length in Linux 1. Using shell...
We all know that a variable is defined by simply assigning a value to it. However bash shell also provides a feature to unset it, in order to free it...
Today in this post, we will look how to search or grep special characters in a file text. To search special characters in linux, we need to escape them using...
Today in this post, we will look how to remove empty lines from a file in bash shell linux. This is the easiest way to achieve this task. Removing empty/null...
Here is a quick tip to test a valid IP address on linux bash shell. I have recently used it in one of the scripts i need to prepare. I....