<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Script day &#8211; Shutting down multiple servers at once</title>
	<atom:link href="http://geek.co.il/wp/2009/07/20/script-day-shutting-down-multiple-servers-at-once/feed" rel="self" type="application/rss+xml" />
	<link>http://geek.co.il/wp/2009/07/20/script-day-shutting-down-multiple-servers-at-once</link>
	<description>Thoughts about the universe in general</description>
	<lastBuildDate>Wed, 25 Jan 2012 18:13:53 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4-alpha-19719</generator>
	<item>
		<title>By: Eran</title>
		<link>http://geek.co.il/wp/2009/07/20/script-day-shutting-down-multiple-servers-at-once/comment-page-1#comment-200909</link>
		<dc:creator>Eran</dc:creator>
		<pubDate>Fri, 24 Jul 2009 12:56:47 +0000</pubDate>
		<guid isPermaLink="false">http://geek.co.il/wp/?p=1135#comment-200909</guid>
		<description>But the reason I use Magic File Renamer is that I wanted something that will make all the pictures I have look like this and all the audiobooks look like that and all the music albums look another way. And I thought of writing something myself but then there&#039;s this cool tool that does it for me, remembers what I want and is perfectly good at its job.</description>
		<content:encoded><![CDATA[<p>But the reason I use Magic File Renamer is that I wanted something that will make all the pictures I have look like this and all the audiobooks look like that and all the music albums look another way. And I thought of writing something myself but then there&#8217;s this cool tool that does it for me, remembers what I want and is perfectly good at its job.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Oded</title>
		<link>http://geek.co.il/wp/2009/07/20/script-day-shutting-down-multiple-servers-at-once/comment-page-1#comment-200879</link>
		<dc:creator>Oded</dc:creator>
		<pubDate>Thu, 23 Jul 2009 21:01:33 +0000</pubDate>
		<guid isPermaLink="false">http://geek.co.il/wp/?p=1135#comment-200879</guid>
		<description>See my reply to Eran below about Powershell. Regarding scripting - sure, but its like saying &quot;you don&#039;t need to install applications to do stuff - you can write the applications yourself&quot;.

The point of the article is that a decently competent user can achieve more without getting into &quot;developing applications&quot; because the scripting tools are so handy that you don&#039;t even feel like your are writing a script: want to convert all the underscores in your files to dashes? Just run
for file in *; do mv &quot;$file&quot; &quot;${file/_/-}&quot;; done
right at your command line - its more complicated to think about then to write it!</description>
		<content:encoded><![CDATA[<p>See my reply to Eran below about Powershell. Regarding scripting &#8211; sure, but its like saying &#8220;you don&#8217;t need to install applications to do stuff &#8211; you can write the applications yourself&#8221;.</p>
<p>The point of the article is that a decently competent user can achieve more without getting into &#8220;developing applications&#8221; because the scripting tools are so handy that you don&#8217;t even feel like your are writing a script: want to convert all the underscores in your files to dashes? Just run<br />
for file in *; do mv &#8220;$file&#8221; &#8220;${file/_/-}&#8221;; done<br />
right at your command line &#8211; its more complicated to think about then to write it!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Oded</title>
		<link>http://geek.co.il/wp/2009/07/20/script-day-shutting-down-multiple-servers-at-once/comment-page-1#comment-200877</link>
		<dc:creator>Oded</dc:creator>
		<pubDate>Thu, 23 Jul 2009 20:54:52 +0000</pubDate>
		<guid isPermaLink="false">http://geek.co.il/wp/?p=1135#comment-200877</guid>
		<description>Well, I have tested it. They have some good things, like strong syntax, but they messed some other things completely - like pipes as object streams? Come on!

Regardless: CMD.exe is really primitive (like an early 80s UNIX shell), while Powershell is an external software package (like cygwin) you have to go and install it. If you have ever used Bash seriously and then tried to use cygwin or Powershell you&#039;d know that its not on the same level. The reason is that its not only the shell - its about the entire system: Linux comes with tons of tools and applications that are geared to work nicely as components in a shell environment, while with MS-Windows you don&#039;t even have a normal pager.

Compared to what you can get on MS-Windows (including cygwin), Linux is like working in a state-of-the-art workshop with more tools then you knew existed (and 5 sizes of each) compared to working in your garage with your ill fitting work desk, where half the time you can&#039;t find the exact tool that you need and have to kludge it and the rest of the time your tool is not the exactly the size or shape that you need and you still have to kludge it.</description>
		<content:encoded><![CDATA[<p>Well, I have tested it. They have some good things, like strong syntax, but they messed some other things completely &#8211; like pipes as object streams? Come on!</p>
<p>Regardless: CMD.exe is really primitive (like an early 80s UNIX shell), while Powershell is an external software package (like cygwin) you have to go and install it. If you have ever used Bash seriously and then tried to use cygwin or Powershell you&#8217;d know that its not on the same level. The reason is that its not only the shell &#8211; its about the entire system: Linux comes with tons of tools and applications that are geared to work nicely as components in a shell environment, while with MS-Windows you don&#8217;t even have a normal pager.</p>
<p>Compared to what you can get on MS-Windows (including cygwin), Linux is like working in a state-of-the-art workshop with more tools then you knew existed (and 5 sizes of each) compared to working in your garage with your ill fitting work desk, where half the time you can&#8217;t find the exact tool that you need and have to kludge it and the rest of the time your tool is not the exactly the size or shape that you need and you still have to kludge it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eran</title>
		<link>http://geek.co.il/wp/2009/07/20/script-day-shutting-down-multiple-servers-at-once/comment-page-1#comment-200807</link>
		<dc:creator>Eran</dc:creator>
		<pubDate>Thu, 23 Jul 2009 06:38:44 +0000</pubDate>
		<guid isPermaLink="false">http://geek.co.il/wp/?p=1135#comment-200807</guid>
		<description>Microsoft came out with Powershell not long ago but I haven&#039;t tested it myself.</description>
		<content:encoded><![CDATA[<p>Microsoft came out with Powershell not long ago but I haven&#8217;t tested it myself.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amir</title>
		<link>http://geek.co.il/wp/2009/07/20/script-day-shutting-down-multiple-servers-at-once/comment-page-1#comment-200748</link>
		<dc:creator>Amir</dc:creator>
		<pubDate>Wed, 22 Jul 2009 15:44:19 +0000</pubDate>
		<guid isPermaLink="false">http://geek.co.il/wp/?p=1135#comment-200748</guid>
		<description>Real Windows administrators learn to use the Windows shell, CMD.EXE, and VBScript for the CScript engine, and the ones who are more open to the world also use Cygwin tools. Plus, I have been unemployed for more than a year now, so things might have improved since last time I administered a Windows machine -- I recall having heard of a new Windows shell, and some POSIX tools coming from Microsoft.</description>
		<content:encoded><![CDATA[<p>Real Windows administrators learn to use the Windows shell, CMD.EXE, and VBScript for the CScript engine, and the ones who are more open to the world also use Cygwin tools. Plus, I have been unemployed for more than a year now, so things might have improved since last time I administered a Windows machine &#8212; I recall having heard of a new Windows shell, and some POSIX tools coming from Microsoft.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Oded</title>
		<link>http://geek.co.il/wp/2009/07/20/script-day-shutting-down-multiple-servers-at-once/comment-page-1#comment-200741</link>
		<dc:creator>Oded</dc:creator>
		<pubDate>Wed, 22 Jul 2009 14:54:02 +0000</pubDate>
		<guid isPermaLink="false">http://geek.co.il/wp/?p=1135#comment-200741</guid>
		<description>Or just use &lt;a href=&quot;http://konsole.kde.org&quot; rel=&quot;nofollow&quot;&gt;Konsole&lt;/a&gt; with its &quot;send input to all windows&quot; feature. 

There are a few reasons:
* This script actually make sure that a server was shutdown by pinging it. It will also elegantly skip hosts that are already down.
* Its automated - of course it is limited to just doing a shutdown, but it does this automatically with a single command - no need to run a full application with UI and everything. It will do its job cleanly and report the results in a simple way.
* It does not require X - you can run it from a VT or from a putty console on windows or anything
* I like writing scripts ;-)
</description>
		<content:encoded><![CDATA[<p>Or just use <a href="http://konsole.kde.org" rel="nofollow">Konsole</a> with its &#8220;send input to all windows&#8221; feature. </p>
<p>There are a few reasons:<br />
* This script actually make sure that a server was shutdown by pinging it. It will also elegantly skip hosts that are already down.<br />
* Its automated &#8211; of course it is limited to just doing a shutdown, but it does this automatically with a single command &#8211; no need to run a full application with UI and everything. It will do its job cleanly and report the results in a simple way.<br />
* It does not require X &#8211; you can run it from a VT or from a putty console on windows or anything<br />
* I like writing scripts <img src='http://geek.co.il/wp/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Assi</title>
		<link>http://geek.co.il/wp/2009/07/20/script-day-shutting-down-multiple-servers-at-once/comment-page-1#comment-200719</link>
		<dc:creator>Assi</dc:creator>
		<pubDate>Wed, 22 Jul 2009 12:44:45 +0000</pubDate>
		<guid isPermaLink="false">http://geek.co.il/wp/?p=1135#comment-200719</guid>
		<description>Why not just use clusterssh ?

http://freshmeat.net/projects/clusterssh/</description>
		<content:encoded><![CDATA[<p>Why not just use clusterssh ?</p>
<p><a href="http://freshmeat.net/projects/clusterssh/" rel="nofollow">http://freshmeat.net/projects/clusterssh/</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>

