Archive | scripts RSS feed for this section

Scripts – lastdev.rb

DISCLAIMER This script is as is. I give no warranty it will work as you expected on your system. You are running it at your own risk. If something goes wrong because of this script, I bear no responsibility. Language server# ruby -v ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-linux] Purpose You know a hexadecimal id, […]

Leave a comment Continue Reading →

HDS Pool report Sample

NOTE: Actual perl script generating the pool report shown below uses a perl module which contains several subs. Instead of displaying that big script and even bigger module, I’ve pasted the output of script. Please note that the Actual output is a bit more formatted than shown below. It has been formatted down in order […]

Leave a comment Continue Reading →

BASH – Default variables for a bash shell

$?    =>  Return code of previous command $0    =>  Name of the script itself $1-9  =>  Argument number 1 to 9 given to script ${10} => Argument number 10 given to script $#    => Total number of arguments given to script $@    => All arguments given to script but as an individual string values "$*"  => All arguments given to script […]

Comments Off on BASH – Default variables for a bash shell Continue Reading →

Scripts – HDS Generate Horcm Entries

DISCLAIMER: This script is as is. I give no warranty it will work as you expected on your system. You are running it at your own risk. If something goes wrong because of this script, I bear no responsibility. Language: perl Platform: server# cat /etc/release                        Solaris 10 11/06 s10s_u3wos_10 SPARC            Copyright 2006 Sun […]

Leave a comment Continue Reading →

Scripts – contig_devs.pl

DISCLAIMER: This script is as is. I give no warranty it will work as you expected on your system. You are running it at your own risk. If something goes wrong because of this script, I bear no responsibility. Language Solaris 10 server# bash –version GNU bash, version 3.00.16(1)-release (sparc-sun-solaris2.10) Copyright (C) 2004 Free Software […]

Leave a comment Continue Reading →

Scripts – print_range.bash

DISCLAIMER: This script is as is. I give no warranty it will work as you expected on your system. You are running it at your own risk. If something goes wrong because of this script, I bear no responsibility. Language: server# bash –version GNU bash, version 3.00.16(1)-release (sparc-sun-solaris2.10) Copyright (C) 2004 Free Software Foundation, Inc. […]

Leave a comment Continue Reading →

Scripts – print_devs.bash

DISCLAIMER: This script is as is. I give no warranty it will work as you expected on your system. You are running it at your own risk. If something goes wrong because of this script, I bear no responsibility. Language: bash Platform: Solaris 10 server# bash –version GNU bash, version 3.00.16(1)-release (sparc-sun-solaris2.10) Copyright (C) 2004 […]

Leave a comment Continue Reading →