Posts tagged as:

hostname

Linux Shell script to verify dns ‘A’ record for given hostname or domain using master and slave dns server.

{ 0 comments }

#!/usr/bin/expect -f
# Expect script to supply root/admin password for remote ssh server
# and execute command.
# This script needs three argument to(s) connect to remote server:
# password = Password of remote UNIX server, for root user.
# ipaddr = IP Addreess of remote UNIX server, no hostname
# scriptname = Path to remote script which will execute on [...]

{ 32 comments }

Shell script to monitor or watch the disk space and send an email alert if the (free avilable) percentage of space is >= 90%
#!/bin/sh
# Shell script to monitor or watch the disk space
# It will send an email to $ADMIN, if the (free avilable) percentage
# of space is >= 90%
# ————————————————————————-
# Copyright (c) 2005 nixCraft [...]

{ 22 comments }

#!/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)
# Visit http://bash.cyberciti.biz/ for more information.
# ————————————————————————-
# Setup email ID below
# See URL for [...]

{ 23 comments }

#!/bin/bash
# Shell script to backup directories from Linux server to Windows 2000/NT Server.
# Run it as follows
# Scriptname /home backup abc123 //server2000/backup
# Backup /home directory from Linux box to NT/2000 box called
# ’server2000′ in share called ‘/backup’ with username
# ‘backup’ and password ‘abc123′
# ——————————————————————–
# This is a free shell script under GNU GPL version [...]

{ 3 comments }