Sometimes you may need to concatenate string variables in shell script. Here is how to do it.
Linux
How to Iterate Over Arguments in Shell Script
Often you may need to loop through arguments in shell script. In this article, we will learn how to iterate over arguments in shell script.
Bash Script That Takes Optional Arguments
Sometimes you may need to create shell script that accepts optional arguments. Here is how to create bash script that takes optional arguments.
How to Test If Variable is Number in Shell Script
Often you may need to check if a variable is a number in shell script and process it. Here is how to test if variable is number in Shell Script.
How to Prevent Accidental File Deletion
How to Make File and Directory Undeletable in Linux
How to Disable Auto Logout in Linux
By default, Linux logs out users automatically after timeout period. Here is how to disable auto logout in Linux.
How to Make File Unreadable in Linux
Sometimes you may need to make files unreadable in Linux to protect them. Here are the steps to make file unreadable in Linux.
How to Create ISO Image from CD in Linux
Sometimes you may need to create ISO image from CD in Linux. Here are the steps to make ISO image from CD/DVD.
Shell Script to Clear/Delete Log Files
Sometimes you may need to clear/delete log files in Linux. Here is shell script to clear/delete log files.