[Solved] Script to check numerous ports / servers (Solaris native)
Hi
I'd like to check that a bunch of firewall rules have been applied and, therefore, want to write a script that basically does the following:
I would just compile the list in excel and run it as a script and pipe the output to a file, but telnet makes me hit the ^] keys to get out of a connection.
This is a work server running Solaris 10 and I don't have the option of running any non-native Solaris utilities.
I'm a bit of a noob with this stuff, so any help would be very much appreciated.
Thanks
Jibb
Last edited by vbe; 06-29-2013 at 09:20 AM..
Reason: code tags
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)
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)
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)
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)
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)
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)
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)
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)