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.
Linux
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.
How to Pass Variable in cURL Command
Sometimes you may need to pass shell variable in Linux. Here is how to pass variable in cURL command.
Shell Script to Read Data from Text File using For Loop
Often you may need to read file using shell script. Here is a shell script to read data from text file in Linux.
Awk split one column into multiple columns
Sometimes you may need to split one column into multiple columns. Here is how to split columns using awk command in Linux.