<?xml version="1.0" encoding="ISO-8859-1"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>The UNIX and Linux Forums</title>
		<link>http://www.unix.com</link>
		<description>UNIX and Linux Forums - Learn UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts</description>
		<language>en</language>
		<lastBuildDate>Sun, 05 Jul 2009 02:48:32 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>5</ttl>
		<image>
			<url>http://s3.unix.com/images/misc/rss.jpg</url>
			<title>The UNIX and Linux Forums</title>
			<link>http://www.unix.com</link>
		</image>
		<item>
			<title>VCS heartbeat</title>
			<link>http://www.unix.com/sun-solaris/113665-vcs-heartbeat.html</link>
			<pubDate>Sun, 05 Jul 2009 01:15:59 GMT</pubDate>
			<description>we have a vcs cluster set up and noticed that they were showing one of the heart beat link qfe3 as DOWN. Both qfe2 and qfe3 were fine all along, btw if I were to push in/re-set the hb cable, do you know whether it will panic or cause anything to the system,? Its a DB critical prod nodes</description>
			<content:encoded><![CDATA[<div>we have a vcs cluster set up and noticed that they were showing one of the heart beat link qfe3 as DOWN. Both qfe2 and qfe3 were fine all along, btw if I were to push in/re-set the hb cable, do you know whether it will panic or cause anything to the system,? Its a DB critical prod nodes</div>

]]></content:encoded>
			<category domain="http://www.unix.com/sun-solaris/">SUN Solaris</category>
			<dc:creator>incredible</dc:creator>
			<guid isPermaLink="true">http://www.unix.com/sun-solaris/113665-vcs-heartbeat.html</guid>
		</item>
		<item>
			<title>RedHat Linux Automatic Updates</title>
			<link>http://www.unix.com/red-hat/113663-redhat-linux-automatic-updates.html</link>
			<pubDate>Sun, 05 Jul 2009 00:18:36 GMT</pubDate>
			<description><![CDATA[Hi All, 
  
we have about 50 RedHat Linux servers (v4.x, 5.x), now we planing to configure those servers to get updates(service packs, security patches...etc) automatically. whats is the best practises to do this.  
  
we also have SLES servers and we use Novell's SMT tool to get updates, we...]]></description>
			<content:encoded><![CDATA[<div>Hi All,<br />
 <br />
we have about 50 RedHat Linux servers (v4.x, 5.x), now we planing to configure those servers to get updates(service packs, security patches...etc) automatically. whats is the best practises to do this. <br />
 <br />
we also have SLES servers and we use Novell's SMT tool to get updates, we configured one server as central repositary to connect to novell site to get updates. then client servers connet to central repositary to get updates. That way all servers get updated.<br />
 <br />
we are looking that kind of method to update redhat servers. Any one please advice. Thanks.</div>

]]></content:encoded>
			<category domain="http://www.unix.com/red-hat/">Red Hat</category>
			<dc:creator>s_linux</dc:creator>
			<guid isPermaLink="true">http://www.unix.com/red-hat/113663-redhat-linux-automatic-updates.html</guid>
		</item>
		<item>
			<title>using awk to comment out lines to the end of file</title>
			<link>http://www.unix.com/shell-programming-scripting/113659-using-awk-comment-out-lines-end-file.html</link>
			<pubDate>Sat, 04 Jul 2009 21:32:50 GMT</pubDate>
			<description>Hello, 
 
I have a file as follow 
 
a  
b  
c 
c 
d 
d</description>
			<content:encoded><![CDATA[<div>Hello,<br />
<br />
I have a file as follow<br />
<br />
a <br />
b <br />
c<br />
c<br />
d<br />
d<br />
e<br />
<br />
<br />
I would like to write a awk command to insert # from the first occurence of<br />
&quot;c&quot; to the end of the files.<br />
OUTPUT should be like this<br />
<br />
a<br />
b<br />
#c<br />
#c<br />
#d<br />
#d<br />
#e<br />
<br />
I kept getting error while attempting to use break <br />
<br />
awk ' if ( $1 ~ /^c/ ) { beginline = NR ; break } ' <br />
<br />
Greatly appreciate your comment</div>

]]></content:encoded>
			<category domain="http://www.unix.com/shell-programming-scripting/">Shell Programming and Scripting</category>
			<dc:creator>phamp008</dc:creator>
			<guid isPermaLink="true">http://www.unix.com/shell-programming-scripting/113659-using-awk-comment-out-lines-end-file.html</guid>
		</item>
		<item>
			<title>Top command in AIX 4.2 (no topas, no nmon, no top)?</title>
			<link>http://www.unix.com/aix/113658-top-command-aix-4-2-no-topas-no-nmon-no-top.html</link>
			<pubDate>Sat, 04 Jul 2009 21:17:03 GMT</pubDate>
			<description><![CDATA[Is there a 'top' command equivalent in AIX 4.2 ? 
 
I already checked and I do not see the following ones anywhere: 
top 
nmon 
topas]]></description>
			<content:encoded><![CDATA[<div>Is there a 'top' command equivalent in AIX 4.2 ?<br />
<br />
I already checked and I do not see the following ones anywhere:<br />
top<br />
nmon<br />
topas</div>

]]></content:encoded>
			<category domain="http://www.unix.com/aix/">AIX</category>
			<dc:creator>Browser_ice</dc:creator>
			<guid isPermaLink="true">http://www.unix.com/aix/113658-top-command-aix-4-2-no-topas-no-nmon-no-top.html</guid>
		</item>
		<item>
			<title>Tempest</title>
			<link>http://www.unix.com/security-rss/113657-tempest.html</link>
			<pubDate>Sat, 04 Jul 2009 18:15:07 GMT</pubDate>
			<description><![CDATA[There are lots of myths about TEMPEST and emanations (or emissions) security.&#0160; This site (http://www.tscm.com/TSCM101tempest.html) provides detailed information.&#0160; Unfortunately, it isn't quite as sensational as the myths, but more useful. 
 
 Image:...]]></description>
			<content:encoded><![CDATA[<div>There are lots of myths about TEMPEST and emanations (or emissions) security.&#0160; <a href="http://www.tscm.com/TSCM101tempest.html" target="_blank">This site</a> provides detailed information.&#0160; Unfortunately, it isn&#39;t quite as sensational as the myths, but more useful.<br />
<br />
 <a href="http://feeds.feedburner.com/~ff/isc2Blog?a=leWpdQaaHRM:1P6_gf-lWVQ:yIl2AUoC8zA" target="_blank"><img src="http://feeds.feedburner.com/~ff/isc2Blog?d=yIl2AUoC8zA" border="0" alt="" /></a> <br />
<img src="http://feeds.feedburner.com/~r/isc2Blog/~4/leWpdQaaHRM" border="0" alt="" /><br />
<br />
<a href="http://feedproxy.google.com/~r/isc2Blog/~3/leWpdQaaHRM/tempest.html" target="_blank">More...</a></div>

]]></content:encoded>
			<category domain="http://www.unix.com/security-rss/">IT Security RSS</category>
			<dc:creator>iBot</dc:creator>
			<guid isPermaLink="true">http://www.unix.com/security-rss/113657-tempest.html</guid>
		</item>
		<item>
			<title>runtime crontab entry</title>
			<link>http://www.unix.com/shell-programming-scripting/113656-runtime-crontab-entry.html</link>
			<pubDate>Sat, 04 Jul 2009 17:59:50 GMT</pubDate>
			<description>Hi,  
 
I have a query. When I execute a shell script say sh1.ksh,  
at the run time I need to put another shell script say sh2.ksh  
in the crontab with the parameter which we provided to sh1.ksh  
script, to execute sh2.ksh on the background for doing process.  
 
Also the cron entry needs to be...</description>
			<content:encoded><![CDATA[<div>Hi, <br />
<br />
I have a query. When I execute a shell script say sh1.ksh, <br />
at the run time I need to put another shell script say sh2.ksh <br />
in the crontab with the parameter which we provided to sh1.ksh <br />
script, to execute sh2.ksh on the background for doing process. <br />
<br />
Also the cron entry needs to be removed after the script <br />
finishes its jobs.<br />
<br />
How do we put a file in the crontab with parameter and remove <br />
the entry from crontab dynamically?<br />
<br />
Ex: - ./sh1.ksh &lt;parameter1-name&gt; &lt;parameter2-name&gt;<br />
<br />
In crontab the script should look like this: <br />
5 * * * * sh2.ksh &lt;parameter1-name&gt; &lt;parameter2-name&gt;<br />
<br />
Thanks in adv.</div>

]]></content:encoded>
			<category domain="http://www.unix.com/shell-programming-scripting/">Shell Programming and Scripting</category>
			<dc:creator>mrpranab</dc:creator>
			<guid isPermaLink="true">http://www.unix.com/shell-programming-scripting/113656-runtime-crontab-entry.html</guid>
		</item>
		<item>
			<title>Worm_waledac.du</title>
			<link>http://www.unix.com/malware-advisories-rss/113655-worm_waledac-du.html</link>
			<pubDate>Sat, 04 Jul 2009 17:00:05 GMT</pubDate>
			<description>Malware: WORM_WALEDAC.DU  
 
More... (http://150.70.93.10/vinfo/virusencyclo/default5.asp?VName=WORM_WALEDAC.DU)</description>
			<content:encoded><![CDATA[<div>Malware: WORM_WALEDAC.DU <br />
<br />
<a href="http://150.70.93.10/vinfo/virusencyclo/default5.asp?VName=WORM_WALEDAC.DU" target="_blank">More...</a></div>

]]></content:encoded>
			<category domain="http://www.unix.com/malware-advisories-rss/">Malware Advisories (RSS)</category>
			<dc:creator>iBot</dc:creator>
			<guid isPermaLink="true">http://www.unix.com/malware-advisories-rss/113655-worm_waledac-du.html</guid>
		</item>
		<item>
			<title>finger command</title>
			<link>http://www.unix.com/unix-advanced-expert-users/113654-finger-command.html</link>
			<pubDate>Sat, 04 Jul 2009 16:01:44 GMT</pubDate>
			<description>I want to know the correct version of how i should use the finger command in this example below.(os is debian lenny) 
 
(nymserver.pl is located in /home/nymserv directory.) 
 
the two versions are : 
 
(in/etc/inetd.conf) 
finger    stream    tcp    nowait    nymuser    /usr/nym/nymserv nymserv...</description>
			<content:encoded><![CDATA[<div>I want to know the correct version of how i should use the finger command in this example below.(os is debian lenny)<br />
<br />
(nymserver.pl is located in /home/nymserv directory.)<br />
<br />
the two versions are :<br />
<br />
(in/etc/inetd.conf)<br />
finger    stream    tcp    nowait    nymuser    /usr/nym/nymserv nymserv -fingerd<br />
<br />
----and<br />
(in rc local script)<br />
finger     stream   tcp    nowait      root /usr/sbin/tcpd   /home/nymuser nymuser /usr/nym/nymserv -fingerd <br />
<br />
thanks<br />
<br />
xstation<br />
ps i have tried<br />
finger    stream    tcp    nowait    nymuser    /usr/nym/nymserv nymserv -fingerd<br />
and<br />
finger    stream    tcp    nowait    nymuser    /usr/nym/nymserv nymserver.pl -fingerd<br />
<br />
but get connection refused</div>

]]></content:encoded>
			<category domain="http://www.unix.com/unix-advanced-expert-users/"><![CDATA[UNIX for Advanced & Expert Users]]></category>
			<dc:creator>xstation</dc:creator>
			<guid isPermaLink="true">http://www.unix.com/unix-advanced-expert-users/113654-finger-command.html</guid>
		</item>
		<item>
			<title>help me out in letting me know the meaning of  sh, ksh, bash</title>
			<link>http://www.unix.com/shell-programming-scripting/113652-help-me-out-letting-me-know-meaning-sh-ksh-bash.html</link>
			<pubDate>Sat, 04 Jul 2009 15:26:50 GMT</pubDate>
			<description>Could you please help me out in letting me know the meaning of  
  
 
Code: 
--------- 
#!/bin/sh 
#!/bin/ksh 
#!/bin/bash 
--------- 
what the difference between all these :eek:....</description>
			<content:encoded><![CDATA[<div>Could you please help me out in letting me know the meaning of <br />
 <br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">#!/bin/sh<br />
#!/bin/ksh<br />
#!/bin/bash</code><hr />
</div>what the difference between all these :eek:....<br />
 <br />
Also please view the below mention script, could you please explain whats this script doing<br />
 <br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">#!/bin/bash<br />
t=100<br />
echo $t<br />
echo $tea<br />
echo ${t}ea</code><hr />
</div>Thnkz in advance.</div>

]]></content:encoded>
			<category domain="http://www.unix.com/shell-programming-scripting/">Shell Programming and Scripting</category>
			<dc:creator>jojo123</dc:creator>
			<guid isPermaLink="true">http://www.unix.com/shell-programming-scripting/113652-help-me-out-letting-me-know-meaning-sh-ksh-bash.html</guid>
		</item>
		<item>
			<title><![CDATA[How to find 'Day of week' in Linux system]]></title>
			<link>http://www.unix.com/unix-linux-applications/113651-how-find-day-week-linux-system.html</link>
			<pubDate>Sat, 04 Jul 2009 13:42:07 GMT</pubDate>
			<description>Hi All, 
  
I want to find a day of week for the Linux system. 
  
can some one help me on this.. 
  
Thanks in advance, 
Raji.</description>
			<content:encoded><![CDATA[<div>Hi All,<br />
 <br />
I want to find a day of week for the Linux system.<br />
 <br />
can some one help me on this..<br />
 <br />
Thanks in advance,<br />
Raji.</div>

]]></content:encoded>
			<category domain="http://www.unix.com/unix-linux-applications/">UNIX and Linux Applications</category>
			<dc:creator>rajinavaneethan</dc:creator>
			<guid isPermaLink="true">http://www.unix.com/unix-linux-applications/113651-how-find-day-week-linux-system.html</guid>
		</item>
		<item>
			<title>CEP Thinking:  A Dream, Wishful Thinking or Incompetance?</title>
			<link>http://www.unix.com/complex-event-processing-rss-news/113650-cep-thinking-dream-wishful-thinking-incompetance.html</link>
			<pubDate>Sat, 04 Jul 2009 12:00:01 GMT</pubDate>
			<description>Tim Bass 
07-04-2009 07:40 AM  
 
 
Source... (http://www.thecepblog.com/2009/07/04/cep-thinking-a-dream-wishful-thinking-or-incompetance/)</description>
			<content:encoded><![CDATA[<div>Tim Bass<br />
07-04-2009 07:40 AM <br />
<br />
<br />
<a href="http://www.thecepblog.com/2009/07/04/cep-thinking-a-dream-wishful-thinking-or-incompetance/" target="_blank">Source...</a></div>

]]></content:encoded>
			<category domain="http://www.unix.com/complex-event-processing-rss-news/">Complex Event Processing RSS News</category>
			<dc:creator>iBot</dc:creator>
			<guid isPermaLink="true">http://www.unix.com/complex-event-processing-rss-news/113650-cep-thinking-dream-wishful-thinking-incompetance.html</guid>
		</item>
		<item>
			<title>Detect USB keyboard and other peripherals</title>
			<link>http://www.unix.com/shell-programming-scripting/113649-detect-usb-keyboard-other-peripherals.html</link>
			<pubDate>Sat, 04 Jul 2009 10:37:12 GMT</pubDate>
			<description><![CDATA[Hi there, 
 
I have a Debian machine without any peripherals (no screen, no keyboard, etc.). I'd like to be able to detect and log when someone plugs a USB keyboard. Something like : 2009-07-04 12:21 warning: keyboard pluged! 
*Is that possible? 
* 
I see two ways : 
1. Either actively react to the...]]></description>
			<content:encoded><![CDATA[<div>Hi there,<br />
<br />
I have a Debian machine without any peripherals (no screen, no keyboard, etc.). I'd like to be able to detect and log when someone plugs a USB keyboard. Something like : <font face="Courier New">2009-07-04 12:21 warning: keyboard pluged!<br />
</font><b>Is that possible?<br />
</b><br />
I see two ways :<br />
<i>1. Either actively react to the connection of a device and execute a script that logs the alert.<br />
2. Or cron a script that checks for USB devices every 5 minutes.<br />
</i>I have no idea how to do either ways.<br />
<b>Can anyone help me on that?<br />
</b><br />
I would be glad to just be able to alert when any USB device is plugged. No matter if it's a keyboard or a flash key. But if I can make the difference between each device type... Better!<br />
<br />
<br />
Thanks for your help<br />
Santiago</div>

]]></content:encoded>
			<category domain="http://www.unix.com/shell-programming-scripting/">Shell Programming and Scripting</category>
			<dc:creator>chebarbudo</dc:creator>
			<guid isPermaLink="true">http://www.unix.com/shell-programming-scripting/113649-detect-usb-keyboard-other-peripherals.html</guid>
		</item>
		<item>
			<title>Making Large Connection nodes for Graph</title>
			<link>http://www.unix.com/shell-programming-scripting/113648-making-large-connection-nodes-graph.html</link>
			<pubDate>Sat, 04 Jul 2009 09:30:00 GMT</pubDate>
			<description><![CDATA[Hi power user, 
 
Basically, this thread is a continuation of the previous one :): 
 
http://www.unix.com/shell-programming-scripting/110650-making-connection-nodes-graph.html#post302326483 
 
However, I'm going to explain it again. 
 
I have this following data:]]></description>
			<content:encoded><![CDATA[<div>Hi power user,<br />
<br />
Basically, this thread is a continuation of the previous one :):<br />
<br />
<a href="http://www.unix.com/shell-programming-scripting/110650-making-connection-nodes-graph.html#post302326483" target="_blank">http://www.unix.com/shell-programmin...#post302326483</a><br />
<br />
However, I'm going to explain it again.<br />
<br />
I have this following data:<br />
<br />
file1<br />
aa             A          <br />
aa             B<br />
aa             C <br />
bb              X<br />
bb              Y <br />
bb              Z <br />
cc              O<br />
cc              P<br />
cc              Q<br />
.                 .<br />
.                .<br />
.                 .<br />
.                .<br />
<br />
and I want to turn them into a connection nodes like this:<br />
file2<br />
<br />
A    aa    A<br />
A    aa    B<br />
A    aa    C<br />
B    aa    C<br />
B    aa    B<br />
C    aa    C<br />
X    bb    X<br />
X    bb    Y<br />
X    bb    Z<br />
Y    bb    Z<br />
Y    bb     Y<br />
Z    bb     Z<br />
.      .       .<br />
.      .      .<br />
.      .      .<br />
.      .       .<br />
<br />
I made this relation, to create a graph. The file have more than 6.000.000 lines. <br />
For smaller files (100.000 lines), I have used this following script in the previous thread:<br />
<br />
join -o 1.2 0 2.2 -1 1 -2 1 file1 file1 | nawk '!a[$3$2$1];{a[$1$2$3]++}'<br />
join -o 1.2 0 2.2 -1 1 -2 1 file1 file1 | nawk '$1&lt;$3{print;next}{print$3,$2,$1}' | sort -u<br />
nawk '<br />
NR==FNR { c = a[$1]; a[$1] = c?c&quot; &quot;$2:$2; next }<br />
{ c = a[$1]<br />
  if (c) {<br />
    split(c,b)<br />
    for (k in b) {<br />
      p = $2&lt;b[k]?$2&quot; &quot;$1&quot; &quot;b[k]:b[k]&quot; &quot;$1&quot; &quot;$2<br />
      if (!d[p]++) print p<br />
    }<br />
  }<br />
}<br />
' file1 file1<br />
For small file, those three kind of scripts could create the network only in less than 10 minutes. However, for files with more than 6.000.000 lines, even after one days, there was no results at all :confused:. Is there any faster way to do it? <br />
<br />
<br />
Any suggestion, how to create file2 by using <acronym title="Practical Extraction and Report Language">perl</acronym> or awk? Tx</div>

]]></content:encoded>
			<category domain="http://www.unix.com/shell-programming-scripting/">Shell Programming and Scripting</category>
			<dc:creator>anjas</dc:creator>
			<guid isPermaLink="true">http://www.unix.com/shell-programming-scripting/113648-making-large-connection-nodes-graph.html</guid>
		</item>
		<item>
			<title>Check free space in SVM</title>
			<link>http://www.unix.com/sun-solaris/113647-check-free-space-svm.html</link>
			<pubDate>Sat, 04 Jul 2009 06:59:53 GMT</pubDate>
			<description><![CDATA[how can we check the free space in SVM for a LUN .. I 've a 300G LUN and created several soft partitions on it but now i want to know how much i can grow .. i.e how much space is left on this 300G LUN]]></description>
			<content:encoded><![CDATA[<div>how can we check the free space in SVM for a LUN .. I 've a 300G LUN and created several soft partitions on it but now i want to know how much i can grow .. i.e how much space is left on this 300G LUN</div>

]]></content:encoded>
			<category domain="http://www.unix.com/sun-solaris/">SUN Solaris</category>
			<dc:creator>fugitive</dc:creator>
			<guid isPermaLink="true">http://www.unix.com/sun-solaris/113647-check-free-space-svm.html</guid>
		</item>
		<item>
			<title>is open source more secure ?</title>
			<link>http://www.unix.com/whats-your-mind/113646-open-source-more-secure.html</link>
			<pubDate>Sat, 04 Jul 2009 06:30:25 GMT</pubDate>
			<description><![CDATA[Hi Guys, 
 
I'd like to know your opinion. A friend of mine claims, an open source OS like linux is more secure than a closed one like AIX because 'if he is hacked, he can do countermeasures'. 
 
I believe the opposite is the case - it's more secure if not everybody knows the kernel and is able to...]]></description>
			<content:encoded><![CDATA[<div>Hi Guys,<br />
<br />
I'd like to know your opinion. A friend of mine claims, an open source OS like linux is more secure than a closed one like AIX because 'if he is hacked, he can do countermeasures'.<br />
<br />
I believe the opposite is the case - it's more secure if not everybody knows the kernel and is able to manipulate it.<br />
<br />
What do you think? - and why<br />
<br />
Kind regards<br />
zxmaus</div>

]]></content:encoded>
			<category domain="http://www.unix.com/whats-your-mind/"><![CDATA[What's on Your Mind?]]></category>
			<dc:creator>zxmaus</dc:creator>
			<guid isPermaLink="true">http://www.unix.com/whats-your-mind/113646-open-source-more-secure.html</guid>
		</item>
	</channel>
</rss>
