 




<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>IT Answers &#187; Linux Scripts</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/tag/linux-scripts/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers</link>
	<description></description>
	<lastBuildDate>Mon, 20 May 2013 21:40:57 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>Need help on running combination of Nagios, Nconf, and Nagiosgraph on Linux</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/need-help-on-running-combination-of-nagios-nconf-and-nagiosgraph/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/need-help-on-running-combination-of-nagios-nconf-and-nagiosgraph/#comments</comments>
		<pubDate>Thu, 14 Oct 2010 14:49:04 +0000</pubDate>
		<dc:creator>1sysadmin</dc:creator>
				<category><![CDATA[CGI]]></category>
		<category><![CDATA[Linux Scripts]]></category>
		<category><![CDATA[Linux servers]]></category>
		<category><![CDATA[Nagios]]></category>
		<category><![CDATA[Nagiosgraph]]></category>
		<category><![CDATA[Nconf]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Hi, I am new to Nagios and I am having problem to put all this applications together. I have very limited knowledge of all this tools and availability, so I need experts help on this. Here are the steps that I went thru: I installed Nagios in one of my Linux server. In the same [...]]]></description>
				<content:encoded><![CDATA[<p>Hi, I am new to Nagios and I am having problem to put all this applications together. I have very limited knowledge of all this tools and availability, so I need experts help on this. Here are the steps that I went thru: I installed Nagios in one of my Linux server. In the same machine but different directory I Installed Nconf to add about 70 hosts with about five services for each hosts. I have to add about 200 more hosts. I used CSV (comma-separated values) file to store the data. Now, I need graph so I installed Nagiosgraph and I am trying to make it work since last two weeks, but it is not working. When I reload nagios, it runs fine and I see the icon to brows to the graph, but when I click on it, I get following error: (Server error! The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there was an error in a CGI script. ) If you think I didn&#8217;t select right tool to add hosts and for graph, what is better tools to add bunch of servers and to get the graphs. I also have some switches to monitor too. Thanks</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/need-help-on-running-combination-of-nagios-nconf-and-nagiosgraph/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Unix Shell Scripting</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/unix-shell-scripting/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/unix-shell-scripting/#comments</comments>
		<pubDate>Thu, 07 Oct 2010 23:55:01 +0000</pubDate>
		<dc:creator>Roshan737</dc:creator>
				<category><![CDATA[Linux Scripts]]></category>
		<category><![CDATA[Shell scripts]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Hi,    Its about writing 2 command line argument.First argument i have created a file and put some text to it before writing the script. But i got stuck with second argument its an integer.The script should echo to the standard out put &#8211; the message&#8221;FILE IS SHORTER&#8221;. If the number lines in the file [...]]]></description>
				<content:encoded><![CDATA[<p>Hi,</p>
<p>   Its about writing 2 command line argument.First argument i have created a file and put some text to it before writing the script.</p>
<p>But i got stuck with second argument its an integer.The script should echo to the standard out put &#8211; the message&#8221;FILE IS SHORTER&#8221;. </p>
<p>If the number lines in the file named in the first argument is less than the integer the value of second argument should show echo to the standard&#8221;FILE IS NOT SHORTER&#8221;.</p>
<p>      can anyone help me with this..</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/unix-shell-scripting/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Help on korn shell (RedHat)</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/help-on-korn-sheel-redhat/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/help-on-korn-sheel-redhat/#comments</comments>
		<pubDate>Thu, 19 Aug 2010 12:44:15 +0000</pubDate>
		<dc:creator>Pjr</dc:creator>
				<category><![CDATA[Korn Shell]]></category>
		<category><![CDATA[Linux Scripts]]></category>
		<category><![CDATA[Red Hat]]></category>
		<category><![CDATA[Red Hat Linux]]></category>
		<category><![CDATA[Shell scripts]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[I have a file like that: &#8230; Title 1     Abcdef     Ghijklm     Nopqrst     &#8230; Title 2      Abcdef      Ghijkllm      Nopqrst      &#8230; &#8230; Under each block (Title) number of line could be between 0 and &#62; 100 _________________________________________________________________ I&#8217;d like to know using script korn sheel how to keep only [...]]]></description>
				<content:encoded><![CDATA[<p>I have a file like that:</p>
<p>&#8230;<br />
Title 1<br />
    Abcdef<br />
    Ghijklm<br />
    Nopqrst<br />
    &#8230;</p>
<p>Title 2<br />
     Abcdef<br />
     Ghijkllm<br />
     Nopqrst<br />
     &#8230;<br />
&#8230;</p>
<p>Under each block (Title) number of line could be between 0 and &gt; 100<br />
_________________________________________________________________<br />
I&#8217;d like to know using script korn sheel how to keep only all lines between each Title?</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/help-on-korn-sheel-redhat/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Linux stdout redirection to file contains &#8220;@&#8221; and stops redirecting</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/linux-stdout-redirection-to-file-contains-and-stops-redirecting/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/linux-stdout-redirection-to-file-contains-and-stops-redirecting/#comments</comments>
		<pubDate>Wed, 08 Jul 2009 14:25:57 +0000</pubDate>
		<dc:creator>Cejennings</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Linux Redirection]]></category>
		<category><![CDATA[Linux Scripts]]></category>
		<category><![CDATA[STDOUT]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Hello Experts, I have a tcl/expect script that I am performing &#8220;log_user 1&#8243; to capture all the output from the script. I am performing the standard redirect and when I perform an exp_send comand with an &#8220;@&#8221; in the line, my stdout redirection stops. The tcl/expect script continues with no problem &#8211; but the output [...]]]></description>
				<content:encoded><![CDATA[<p>Hello Experts,</p>
<p>I have a tcl/expect script that I am performing &#8220;log_user 1&#8243; to capture all the output from the script.  I am performing the standard redirect and when I perform an exp_send comand with an &#8220;@&#8221; in the line, my stdout redirection stops.  The tcl/expect script continues with no problem &#8211; but the output I am looking for is not there:</p>
<pre>./expect_script.tcl &gt;&gt; stdout.log 2&gt;&gt; stdout.err</pre>
<p>inside the expect script where the stdout redirection stops:</p>
<pre> exp_send -s "no snmp-server community 3x@mp!3 RO 88\r</pre>
<p>Thanks.</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/linux-stdout-redirection-to-file-contains-and-stops-redirecting/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Database Caching 3/18 queries in 0.024 seconds using memcached
Object Caching 523/572 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-20 22:31:35 -->