I presume you are doing this as root. You allow root to ssh onto all your servers ?
Using rudiC example. Just add & on the end and/or </dev/null
If you are running remote ssh commands on a list of servers, you have to add
</dev/null at the end or it will exit after the first one.
With just </dev/null it will run the command on each server in foreground one after another.
You can also add & to the end and it will execute the command in background on each server and return at once.
Test the script with the echo first and then remove, when you want to use it.
Last edited by Scrutinizer; 04-17-2015 at 01:49 AM..
Reason: CODE tags
I need a shell script for OS X, one that can find IP addresses of machines connected to my LAN, get the names of the computer associated with those addresses, then display them like so in a list: "Bob's L33T Boxx: #.#.#.#" Something like the network scanner in Apple Remote Desktop is what I'm... (1 Reply)
Hi
I have a mix of solaris 8,9 & 10. I need to have our 6 Solaris servers shutdown buy a script that will be executed by APC network Shutdown software
Im really not sure how I would write a script to shut them down and the following processes?
the processes are
portmapper
seq
seq_api... (1 Reply)
i really dont know any other way to put it besides that Ubuntu 8.04, that i just installed on my computer hangs when it shuts down. the bar depletes the orange like it should, but it never actually shuts down.
anyone know whats going on? (3 Replies)
Hello all.
I have built a cluster of 9 Macs for computational chemistry and I need a shell script that I can use from one computer to all the rest to shutdown.
I have modified all of the Macs so that there is pass-wordless ssh. As well, I have modified each "visudo" file on each machine by... (1 Reply)
on solaris 8 i edited file rc0 in /sbin at last line
ex.
/sbin/sync; /sbin/sync; /sbin/sync
# Unmount file systems. /usr, /var, /var/adm, /var/run are not unmounted by
# umountall because they are mounted by rcS (for single user mode) rather than
# mountall. If this is changed,... (1 Reply)
#!/bin/bash
for ((n=0 ; n < 254 ; n+=1))
do
ip=192.168.0.$n
if ping -c 1 -w 1 $ip > /dev/null 2> /dev/null >> /etc/logping.txt; then
echo "${ip} is up" # output up
# sintax >> /etc/logping.txt log with .txt format
else
echo "${ip} is down" # output... (4 Replies)
I just installed this 11.2 ver and when I tell it to shutdown it takes for ever then just hangs with this just a little bit of that red line left to go, then it just sits there like forever until I get tired of looking at it then force a shutdown by holding my power button down until my laptop... (8 Replies)
Discussion started by: userx-bw
8 Replies
LEARN ABOUT DEBIAN
xbill
xbill(6) Games Manual xbill(6)NAME
xbill - save your computers from Wingdows [TM] virus
SYNOPSIS
xbill [-l level] [--gui gui] [--sizesize] [-v] [-h]
DESCRIPTION
Ever get the feeling that nothing is going right? You're a sysadmin, and someone's trying to destroy your computers. The little people
running around the screen are trying to infect your computers with Wingdows [TM], a virus cleverly designed to resemble a popular operating
system. Your objective is to click the mouse on them, ending their potential threat. If one of the people reaches a computer, it will
attempt to replace your operating system with the virus it carries. It will then attempt to run off the screen with your vital software.
The game ends when only 1 (or 0) of your computers are being productive. Additionally, some computers are connected with network cables.
When one computer on a network becomes infected, a spark will be sent down the cable, and will infect the computer on the other end when it
reaches there.
Clicking the button on one of the little people will cause it to cry out in pain and melt (id software eat your heart out!), dropping the
stolen os if it is carrying one. If a computer is running Wingdows or is temporarily off, the os can be dragged back to the computer (or
another computer compatible with that os). To extinguish a spark, drag the bucket of water from the upper left corner onto it.
The status bar at the bottom tells the following:
Number of Bills on/off the screen
Number of Computers running their OS/off/Wingdows
Level
Score
OPTIONS -l n Start at level n.
--gui gui
Use a specific front end. The possible values are gtk, motif, and athena. Note that some of these may not be compiled into the
binary.
--size size
Play on a field of size x size, instead of the normal 400x400. size must be larger than 400.
-v Print version number and exit.
-h Print help and exit.
When using the GTK gui, all standard GTK options are supported. When using the Athena or Motif GUI, all standard X Intrinsics options are
supported.
AUTHORS
Main Programmer:
Brian Wellington <bwelling@xbill.org>
Programming & graphics (v2.0 and earlier):
Matias Duarte <matias@hyperimage.com>
COPYING
Copyright (c) 1994-2001 Psychosoft
It's FREE! If you want to express your undying gratitude to us for bringing a small bit of meaning into your otherwise pointless existence,
you could always send us e-mail. XBill is distributed under the GNU General Public License.
Go play the game now!
Version 2.1 October 2001 xbill(6)