|
Scripts
I kept getting frustrated when I could not remember how to do
something in a Korn or Perl script. So, I hope to create an
archive of the little things that are so easy to forget.
How to do some simple addition in a ksh using expr:
three.ksh (1+2=3)
How to do some simple math in a ksh script using expr:
mod.ksh
How to split up a full file name with ksh:
filename.ksh
References to Perl arrays:
array_references.pl
References to Perl hashes:
Nmap and DNS lookups.
- I've had to do this multiple times, so I figured I would put
this on my web page. This script will compile a report from a
group of nmap files that were created using the -oG output format.
The output file is CSV format. list_open_ports.pl
Have questions?
As this page is under development, your
input is welcome. If you have a question about how to do a little something in
ksh or perl, or if you have a recommendation that might lead to a good example
then send me an email.
|
|