Help In Linux

Linux Technical Blog

Skip to content
  • Apache
  • AWS
  • cPanels
  • Installations
  • Linux
  • MySQL
  • Other *Nix
  • scripts
  • Security
  • VPS

Scripts

How to backup multiple databases using percona

by Siru // October 8, 2014 // No Comments
Hello all,   I checked over the internet and I couldn’t find a possible script to backup multiple databases using percona backup tool. Hence, I wrote it myself. The below script will help us to backup at most 3 databases... Continue reading →

Scalar Variable in Perl

by Siru // January 5, 2013 // 14 Comments
  Hello,   The following post will explain you the rules and example to use scalar variable in perl language. Rules: Scalar variable can be used to define single or multiple values.   Here in the following example, I have... Continue reading →

Dump All MySQL Databases Starting with Prefix

by Siru // January 5, 2013 // No Comments
  Hello,   The following shell/bash script will help you in taking backup of databases starting with prefix.   #!/bin/bash #Script for mysql database backup cd /var/lib/mysql #Path to mysql folder I am using default path here for DBs in... Continue reading →

Perl Simple Variable Declaration

by Siru // January 5, 2013 // No Comments
  Hello, The following script will explain you how to declare a variable in perl language. All you need is to declare with “$” symbol.   #!/usr/bin/perl -w # Variable declaration in perl $name = "Siranjeevi"; print "$name\n"; #END The... Continue reading →

Escape Character in Perl example Script

by Siru // December 31, 2012 // 1 Comment
  Hello,   The script below explains on how to use escape characters in a perl environment 1. Perl will escape back slash “\” by default so if you referring a path to a windows system please make sure that... Continue reading →

apache create multiple virtual hosts script | shell | bash

by Siru // August 7, 2012 // No Comments
Hello, The following script will help you to create upto 5 websites in apache with basic configuration you may increase the number to N by adding N numbers for value a. Please make sure that you have taken a backup... Continue reading →

apache create virtual host shell script

by Siru // August 6, 2012 // No Comments
  Hello,   The following script will help you to create a website in apache with basic configuration. Please make sure that you have taken a backup of /etc/httpd/conf/httpd.conf file before you proceed, and this script will create a user... Continue reading →

shell script useradd linux | password | bash

by Siru // August 6, 2012 // No Comments
  Hello,   The following script will create upto five users and you will need to provide username and password on prompt. You may change this to N number of users by increasing the values from 5 to N numbers... Continue reading →

Squid acl Multiple Ips Script

by Siru // July 29, 2012 // 1 Comment
  Hello, The following shell script will help you to add multiple IPs to squid configuration, you need to add all the IP address which you like to configure in squid in a file called “iplist” and then execute the... Continue reading →

CPU utilization in linux script alert

by Siru // April 19, 2012 // 2 Comments
Hi, This below script will update you whenever the server load goes beyond 15 with the load and the top 10 process which uses maximum CPU. #!/bin/bash SUBJECT="`hostname`server load is high" TO=user@host.com uptime > /tmp/load if [ `uptime | awk... Continue reading →

Post navigation

← Older posts

Follow me

Sponsored Links

Search blog here

Proudly powered by WordPress | Theme: Sugar & Spice by WebTuts.