Scripting

Shell script to backup mySQL database

Shell script to backup MySql database mysql-backup.bash #!/bin/bash # Shell script to backup MySql database # To backup Nysql databases file to /backup dir and later pick up by your # script. You can skip few databases from backup too. # For more info please see (Installation info): # http://www.cyberciti.biz/nixcraft/vivek/blogger/2005/01/mysql-backup-script.html # Last updated: Aug – […]

Read More
Scripting

Shell script for search for no password entries and lock all accounts

Shell script for search for no password entries and lock all accounts find-account-no-password.sh #!/bin/bash # Shell script for search for no password entries and lock all accounts # ————————————————————————- # Copyright (c) 2005 nixCraft project # This script is licensed under GNU GPL version 2.0 or above # ————————————————————————- # This script is part of […]

Read More
Scripting

Bash shell script to reverse text file content

Shell script to reverse text file contain i.e. concatenate files and print on the standard output in reverse. This script also demonstrate how to use arrays under bash shell script. reverse-text-file.bash #!/bin/bash # Bash shell script to reverse text file contain i.e. concatenate files and # print on the standard output in reverse. This script […]

Read More