for loop is used to iterate over a list of items until a particular…
Learn, how to change the output color of echo text in linux command…
The following command is used to count the number of lines of code in…
This example will help you to parse a command line arguments in bash…
To print a new line in bash, we need to use literal in command…
In this tutorial, we are going to learn about how to check if a string…
In this tutorial, we are going to learn about how to write the…
In this tutorial, we are going to learn about what is meaning of in…
This example will help you to get the full path of an directory using…
In this tutorial, we are going to learn about how to check the first…
In this tutorial, we will learn how to lowercase the first letter of a…
This example will show you, how to run a multiple bash commands with…
In this tutorial, we are going to learn about how to compare two…
To replace a line in a text file by using line number we can use the…
To add the new element to an array without specifying its index, we…
In this tutorial, we are going to learn about how to check if a string…
You can use the posix compatible command to check, if the command…
In this tutorial, we are going to learn about how to get the last n…
In this tutorial, we are going to learn about how to check if a array…
We can use POSIX standard command to convert a string into a…
To concatenate a string to the existing string, we can use the…
In this tutorial, we are going to learn about how to remove the first…
Learn, how to find out the length of a string in Bash. The length of a…
In this tutorial, we are going to learn about how to concatenate two…
In this tutorial, we are going to learn about how to get the last…
In this tutorial, we are going to learn about how to check if a given…
In this tutorial, we will learn how to lowercase all letters of a…
In this tutorial, we are going to learn about how to remove the last…
In this tutorial, we are going to learn about how to find the length…
We can do this by setting an internal file separator (IFS) variable to…
In this tutorial, we are going to learn about how to remove the first…
To compare a two string in bash, we can use the statement with…
In this tutorial, we are going to learn about how to remove the first…
In this tutorial, we are going to learn about how to get the first…
We need to use double quotes to set a variable as an output to the…
In this tutorial, we are going to learn about how to remove the first…
In this tutorial, we will learn how to uppercase all letters of a…
This below example will show you, how to check if a string contains a…
This example will show you how to extract filename and extension…
In this tutorial, we will learn how to UPPERCASE the first letter of a…
In this tutorial, we are going to learn about how to reload a from…
Learn, how to reload your file after making the changes to it…
In this tutorial, we are going to learn about how to reload a file…
To replace one character in a string with another character, we can…
We can remove the leading and trailing whitespaces of a string by…
In this tutorial, we are going to learn about how to get the last…
In this tutorial, we are going to learn about how to get the first n…
In this tutorial, we are going to learn about how to remove the last n…
In this tutorial, we are going to learn about how to get the first…
In this tutorial, we will learn how to print the array elements on a…
In this tutorial, we are going to learn about how to remove the last…