#!/bin/bash
# BASH Shell script init file for Common functions library and other scripts
# Copyright (c) 2005 Vivek G Gite
# This file is licensed under GNU GPL version 2.0 or above
# For more info, please visit:
# http://cyberciti.biz/shell_scripting/bmsinstall.php
#
# Last updated : May 20, 2005.
# Files
SHADOW_FILE="/etc/master.passwd"
PASSWD_FILE="/etc/passwd"
# Bins
DF="/bin/df"
DATE="/bin/date"
HOSTNAME="/bin/hostname"
CAT="/bin/cat"
PS="/bin/ps"
AWK="/usr/bin/awk"
GREP="/usr/bin/grep"
LASTLOG="/usr/bin/lastlog"
ID="/usr/bin/id"
UNAME="/usr/bin/uname"
BASENAME="/usr/bin/basename"
LAST="/usr/bin/last"
LASTLOGIN="/usr/sbin/lastlogin"
FIND="/usr/bin/find"
UPTIME="/usr/bin/uptime"
HEAD="/usr/bin/head"
CUT="/usr/bin/cut"
W="/usr/bin/w"
WC="/usr/bin/wc"
IFCONFIG="/sbin/ifconfig"
DMESG="/sbin/dmesg"
KLDSTAT="/sbin/kldstat"
SYSCTL="/sbin/sysctl"
IOSTAT="/usr/sbin/iostat"
[ Back
| Home |
Download script (898) |
Discuss/ask more @ shell scripting forum ]
This code licensed under
GNU GPL version 2.0
or above, every effort has been made to ensure all information and
examples (soruce code) are correct BUT no guarantee is implied or intended,
read our disclaimer and
privacy policy.
Copyright © 2004-2005
Vivek G Gite.
Html code was genrated by
genBASH2html shell script & GNU source-highlight