Happy New Year 2008! Summary: This code is meant to be a bootstrap for Bash scripters. There is a python version and a Bash version of two scripts that produce the same output, and then a final Python script called clbash.py that embedds Bash statemensts inside of Python. This was done with ZERO Object Oriented Programming, so relax you can do it! Using skeleton code clbash.py: For the command line tool/template, here is an example usage: Usage: py4sa [option] A unix toolbox powered by Python Options: --version show program's version number and exit -h, --help show this help message and exit -i, --ip gets current IP Address -u, --usage gets disk usage of homedir -v, --verbose prints verbosely [root@cent][H:2404][J:0]> ./clbash.py -i 10.0.1.2 [root@cent][H:2406][J:0]> ./clbash.py -i -v IPADDR: 10.0.1.2 If you examine the source code, or just grep for #REPLACE ME, you will see a spot to customize code. Here is an example of uncommenting the lines under #REPLACE ME [root@cent][H:2417][J:0]> ./clbash.py Usage: py4sa [option] A unix toolbox powered by Python Options: --version show program's version number and exit -h, --help show this help message and exit -i, --ip gets current IP Address -t, --tail reports tail of system log -u, --usage gets disk usage of homedir -v, --verbose prints verbosely [root@cent][H:2418][J:0]> ./clbash.py --tail Jan 2 01:23:04 cent smartd[3731]: Device: /dev/hdc, 8 Currently unreadable (pending) sectors Woops, looks like my disk is failing....enough wiki writing... Questions: noah.gift@gmail.com