Sometimes you may need to run a Python script in Apache web server. Here are the steps to run python script in Apache web server.
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 Exclude Requests from Apache Log
Sometimes you may need to exclude requests from Apache log files. Here are the steps to disable logging for specific requests to Apache.
How to Exclude Requests from NGINX Log
Sometimes you may need to ignore certain requests or URLs from being recorded in NGINX log. Here is how to exclude requests from NGINX log.
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.
Shell script to print output in table format
Sometimes you may need to print command output in table format. Here is a shell script to print output in table format in Linux.