Often web developers need to start & restart Apache Tomcat server. Here is a shell script to do this.
Author: Sreeram Sreenivasan
Shell Script to Backup MySQL Database
Often database administrators need to backup MySQL database. Here is a shell script to backup MySQL database.
Htaccess Redirect If URL Contains
Sometimes web administrators and developers need to redirect URLs containing a specific text or pattern. Here is how to use htaccess redirect if URL contains pattern in Apache server.
How to Change Root Password in MySQL
Sometimes database administrators need to reset root password of their MySQL installation. Here is how to change root password in MySQL.
How to Run Shell Script as Cron Job
Linux administrators and developers need to automatically run shell scripts. Her is how to create shell scripts as cron job in Linux.
How to Create Cron Job using Shell Script
Often Linux developers and system administrators need to create cron jobs to automate tasks. Here is how to create cron job using shell script in Linux.
How to Get Current Directory in Shell Script
Often Linux developer and system administrators need to get current directory in terminal or shell script. Here is how to retrieve present working directory.
How to Get Current Directory in Python
Sometimes you may need to get current directory in Python website or application. Here is how to retrieve current working directory using os module.
How to Iterate over Multiple Lists Sequentially in Python
Sometimes you may need to iterate over multiple lists in Python. Here is how to iterate over Python lists.
How to Check Dependencies for Package in Linux
Often you may need to check package dependencies before installation. Here is how to check dependencies for package in Linux.