06-29-2013
Wow! You rock! Thanks so much for this. I've just tried it and everything works perfectly :-)
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello All,
Can somebody help me with this script. I have an output file with a list of servers ips and ports. I need to be able to run this script to list all the server ips in the outfile and find out if the port is open or not.
#!/bin/sh
IFS=#;for i in $(cat portTest);
do
# check... (2 Replies)
Discussion started by: liketheshell
2 Replies
2. HP-UX
I have numerous N-class servers with internal and external disks that I need to wipe. Does anyone have any ideas to do this quick and painless. Anything other than a sledge hammer Also, do I need to be in single-user mode and if so how do I do that? Servers are running 11.11
Thanks (3 Replies)
Discussion started by: itry
3 Replies
3. Shell Programming and Scripting
Good day,
I'm new to linux environment...Is there any scripts available for me to check ports (lets say port 80 and 21) through shell with just a single commandline?
Any response is very much appreciated..
thanks (4 Replies)
Discussion started by: arsonist
4 Replies
4. Solaris
In a solaris 8 machine the native binaries
are mainly kept under /bin and /usr/bin
but some binaries i found in /usr/xpg4/bin
please can anyone tell me in a little detail what is the reason to keep the binaries in different locations
i mean /bin /usr/bin /usr/xpg4/bin
... (1 Reply)
Discussion started by: mobydick
1 Replies
5. UNIX for Advanced & Expert Users
This may seem like a silly question, but how do you iptable firewall an NFS Server tightly? I tend to use Samba much more heavily which is easy, the ports are clearly defined... but on NFS it is relying on portmapper (yuck).... so the ports may change... Is it possible to fix the NFS Server ports,... (2 Replies)
Discussion started by: humbletech99
2 Replies
6. Solaris
hi friends, we are relocating our DC and need to plan out electrical power for the new DC.
are there ways i could find the actual power consumption from my current servers ? instead of the product specs. (2 Replies)
Discussion started by: Exposure
2 Replies
7. Shell Programming and Scripting
HI all,
I want to script where all the server names will be in a text file like
server1
server2
server3 . and the script should take servernames from a text file and perform copy of files if the files are not present on those servers.after which it should take next servername till the end of... (0 Replies)
Discussion started by: joseph.dmello
0 Replies
8. Shell Programming and Scripting
How can i check if sqlldr has been installed on my AIX/UNIX mechine?
Is there any unix script to check this one out.... (0 Replies)
Discussion started by: msrahman
0 Replies
9. UNIX for Advanced & Expert Users
Hello,
I want to create a shell script that would check the file "/etc/default/kbd" for the entry KEYBOARD_ABORT=alternate on a list of SUN Solaris servers.
If this entry is not uncommented (without #) then I should get a message/error report for the host which does not have the setting... (3 Replies)
Discussion started by: mahive
3 Replies
LEARN ABOUT DEBIAN
fwb_ipfw
fwb_ipfw(1) Firewall Builder fwb_ipfw(1)
NAME
fwb_ipfw - Policy compiler for ipfw
SYNOPSIS
fwb_ipfw [-vVx] [-d wdir] [-o output.fw] [-i] -f data_file.xml object_name
DESCRIPTION
fwb_ipfw is a firewall policy compiler component of Firewall Builder (see fwbuilder(1)). This compiler generates code for ipfw - a firewall
and traffic shaper in FreeBSD (see ipfw(8)). Compiler reads objects definitions and firewall description from the data file specified with
"-f" option and generates firewall configuration and activation script.
The generated file has a name that starts with the name of the firewall object, with an extension ".fw". It is a shell script that flushes
current policy, then loads new filter and nat rules.
The data file and the name of the firewall objects must be specified on the command line. Other command line parameters are optional.
OPTIONS
-f FILE
Specify the name of the data file to be processed.
-o output.fw
Specify output file name
-d wdir
Specify working directory. Compiler creates firewall activation script in this directory. If this parameter is missing, then all
files will be placed in the current working directory.
-v Be verbose: compiler prints diagnostic messages when it works.
-V Print version number and quit.
-i When this option is present, the last argument on the command line is supposed to be firewall object ID rather than its name
-x Generate debugging information while working. This option is intended for debugging only and may produce lots of cryptic messages.
NOTES
Support for ipfw was added in version 1.0.10 of Firewall Builder
URL
Firewall Builder home page is located at the following URL: http://www.fwbuilder.org/
BUGS
Please report bugs using bug tracking system on SourceForge:
http://sourceforge.net/tracker/?group_id=5314&atid=105314
SEE ALSO
fwbuilder(1), fwb_ipt(1), fwb_pf(1) fwb_ipf(1)
FWB
fwb_ipfw(1)