Sometimes you may need to make file and directory undeletable in Linux. Here is how to do it.
CentOS/RHEL
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 Restart Service if Not Running
Sometimes you may need to restart service or process in Linux, if it dies. Here is shell script to restart service if not running.
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.
How to Read Variable from File in Shell Script
Sometimes you may need to read variable from file in shell script. Here is how to read variable from file.