Sometimes you may need to extract substring from string in bash or other Linux shell. Here is how to do it using parameter expansion.
How to Split String into Array in Shell Script
Sometimes you may need to split a string into array in shell script. Here are the steps to convert string into array in shell script.
How to Check if String Contains Substring in Bash
Sometimes you may need to check if string contains substring in bash. Here are the different ways to do this in Linux.
Shell Script to Remove Last N Characters from String
How to Find Unused IP Addresses in Network
Sometimes you may need to find unused IP addresses in your network. Here is how to find unused IP addresses using nmap utility tool.
How to Setup Email Alerts for Root Login in Linux
It is important to setup email alerts for root login in Linux. Here are the steps to setup automated email alerts for root login.
How to Find Most Frequent IP Addresses Accessing Apache Server
Sometimes you may need to find most frequent IP addresses accessing your website. Here is how to find most frequent IP addresses accessing Apache server.
How to Zip Files & Folders in Linux
Zip allows you to easily compress files & folders in Linux. Here is how to zip files & folders in Linux.
What are the Different Shells Available in Linux
Linux offers different kinds of shells to work with. Here are the different shells available in Linux.
How to Fix Permission Denied Error While Running Shell Script
Sometimes you may get “Permission Denied” error when you try to run shell script. Here is how to fix permission denied error while running shell script.