A simple shell script wrapper to disable or enable PHP 5 upload support in an Apache or Nginx or Lighttpd web server. The script look for file_uploads directive in php.ini file and change its state from ON to OFF or vice-versa.
A simple shell script wrapper to start / stop / restart NFSv4 service on CentOS / RHEL v.6.x server in a particular order. This script also demonstrates how to use the ln command to create soft links to the same script and take a different action as per $0.
A simple shell script to find out whether critical services are running or, not under Linux or Unix operating systems. The script can send notification using email.
A simple shell script to start / stop / restart chrooted nginx web server under CentOS / RHEL Linux. You must have Nginx web server setup in a chroot (jail) so that you can minimizes the damage done by a potential break-in by isolating the web server to a small section of the filesystem. You can also mount $jail/tmp as a separate filesystem (/images/tmpfile.bin) with the noexec,nosuid, nodev options under Linux like operating systems.
A simple shell script wrapper to record current terminal session of a linux or unix desktop.
A simple shell script to purge Bitgravity cdn cache using API and curl command line. Tested on RHEL 6.x, Debian 6.x, and Ubuntu Linux.
A simple shell to Wake Up nas devices / home servers using Linux and Unix command line.
A Linux shell script to mount dm-crypt (transparent disk encryption subsystem in Linux kernel) partitions with passphrase.
mbrback shell script creates a backup of your hard drive’s MBR and its partition table. You can then use mbrback to restore the MBR boot code, full MBR, or partition table from the backup files.