Tag: gnu gpl version

AWK Array Script To Find File Maximum, Minimum and Total File Sizes

#!/bin/bash # Written by Vivek Gite <www.cyberciti.biz> # AWK to list total file size, minimum, maximum and other size using Arrays # ————————————————————————– # Copyright (C) 2007 nixCraft project <http://www.cyberciti.biz/tips/contact-us> # This script is licensed under GNU GPL version 2.0 or above # ————————————————————————- # This script is part of […]

UNIX / Linux Shell Script For Monitoring System network with ping command

#!/bin/bash # Simple SHELL script for Linux and UNIX system monitoring with # ping command # ————————————————————————- # Copyright (c) 2006 nixCraft project <http://www.cyberciti.biz/fb/> # This script is licensed under GNU GPL version 2.0 or above # ————————————————————————- # This script is part of nixCraft shell script collection (NSSC) # […]

Shell Script to read source file and copy it to target file

#!/bin/bash # Shell to read source file and copy it to target file. If the file # is copied successfully then give message ‘File copied successfully’ # else give message ‘problem copying file’ # ————————————————————————- # Copyright (c) 2005 nixCraft project <http://cyberciti.biz/fb/> # This script is licensed under GNU GPL […]

Shell script to remove whole ftp directory structure

#!/bin/bash # Shell script to remove whole (nuke) ftp directory structure # See url for more info: # http://www.cyberciti.biz/tips/how-to-nuke-a-ftp-server.html # ———————————————– # Copyright (c) 2006 nixCraft project <http://cyberciti.biz/fb/> # This script is licensed under GNU GPL version 2.0 or above # ————————————————————————- # This script is part of nixCraft shell […]

Shell Script To Clean Lighttpd Web Server Cache

This shell script will clean lighttpd web server cache. You need to run this script via a cron job. Download install script at /etc/cron.daily directory. #!/bin/bash # Shell script to clean web server cache stored at /var/www/cache/ directory. # ————————————————————————- # Copyright (c) 2007 nixCraft project <http://cyberciti.biz/fb/> # This script […]