<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic &amp;quot;for&amp;quot; instructions in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/quot-for-quot-instructions/m-p/5033712#M95045</link>
    <description>Hello to all!&lt;BR /&gt;&lt;BR /&gt;i need to "ping" some nodes in my network.&lt;BR /&gt;Ping from 192.168.0.1 to 192.168.0.255.&lt;BR /&gt;&lt;BR /&gt;I'm think to do a "for" action like this pseduo-code:&lt;BR /&gt;&lt;BR /&gt;for ( i = 1; i&amp;lt; 255;  i++)&lt;BR /&gt;{&lt;BR /&gt;ping 192.168.0. + "i"&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;but i don't know how to put this into my Hp-UX (PA-RISC) shell.&lt;BR /&gt;&lt;BR /&gt;How i can do?&lt;BR /&gt;&lt;BR /&gt;Thanks to all!&lt;BR /&gt;&lt;BR /&gt;Points for all reply&lt;BR /&gt;</description>
    <pubDate>Tue, 13 Mar 2007 10:06:37 GMT</pubDate>
    <dc:creator>Alpha977</dc:creator>
    <dc:date>2007-03-13T10:06:37Z</dc:date>
    <item>
      <title>"for" instructions</title>
      <link>https://community.hpe.com/t5/operating-system-linux/quot-for-quot-instructions/m-p/5033712#M95045</link>
      <description>Hello to all!&lt;BR /&gt;&lt;BR /&gt;i need to "ping" some nodes in my network.&lt;BR /&gt;Ping from 192.168.0.1 to 192.168.0.255.&lt;BR /&gt;&lt;BR /&gt;I'm think to do a "for" action like this pseduo-code:&lt;BR /&gt;&lt;BR /&gt;for ( i = 1; i&amp;lt; 255;  i++)&lt;BR /&gt;{&lt;BR /&gt;ping 192.168.0. + "i"&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;but i don't know how to put this into my Hp-UX (PA-RISC) shell.&lt;BR /&gt;&lt;BR /&gt;How i can do?&lt;BR /&gt;&lt;BR /&gt;Thanks to all!&lt;BR /&gt;&lt;BR /&gt;Points for all reply&lt;BR /&gt;</description>
      <pubDate>Tue, 13 Mar 2007 10:06:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/quot-for-quot-instructions/m-p/5033712#M95045</guid>
      <dc:creator>Alpha977</dc:creator>
      <dc:date>2007-03-13T10:06:37Z</dc:date>
    </item>
    <item>
      <title>Re: "for" instructions</title>
      <link>https://community.hpe.com/t5/operating-system-linux/quot-for-quot-instructions/m-p/5033713#M95046</link>
      <description>&lt;BR /&gt;#!/usr/bin/sh&lt;BR /&gt;&lt;BR /&gt;typeset -i i=1&lt;BR /&gt;typeset PREFIX="192.168.0."&lt;BR /&gt;typeset IP=""&lt;BR /&gt;while [[ ${i} -lt 255 ]]&lt;BR /&gt;  do&lt;BR /&gt;    IP="${PREFIX}${i}"&lt;BR /&gt;    ping ${IP}&lt;BR /&gt;    ((i += 1))&lt;BR /&gt;  done&lt;BR /&gt;</description>
      <pubDate>Tue, 13 Mar 2007 10:12:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/quot-for-quot-instructions/m-p/5033713#M95046</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-03-13T10:12:24Z</dc:date>
    </item>
    <item>
      <title>Re: "for" instructions</title>
      <link>https://community.hpe.com/t5/operating-system-linux/quot-for-quot-instructions/m-p/5033714#M95047</link>
      <description>Hi,&lt;BR /&gt;the semantic depends on your shell.&lt;BR /&gt;Posix (ksh):&lt;BR /&gt;typeset -i i=0&lt;BR /&gt;while [ i+=1 -lt 255 ]&lt;BR /&gt;do  ping 192.168.0.$i&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;(T)csh:&lt;BR /&gt;set i=1&lt;BR /&gt;while ($i &amp;lt; 255)&lt;BR /&gt;ping 192.168.0.$i&lt;BR /&gt;@ i++&lt;BR /&gt;end&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;mfG Peter</description>
      <pubDate>Tue, 13 Mar 2007 10:17:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/quot-for-quot-instructions/m-p/5033714#M95047</guid>
      <dc:creator>Peter Nikitka</dc:creator>
      <dc:date>2007-03-13T10:17:24Z</dc:date>
    </item>
    <item>
      <title>Re: "for" instructions</title>
      <link>https://community.hpe.com/t5/operating-system-linux/quot-for-quot-instructions/m-p/5033715#M95048</link>
      <description>I need this!&lt;BR /&gt;&lt;BR /&gt;Thanks to all!&lt;BR /&gt;</description>
      <pubDate>Tue, 13 Mar 2007 10:25:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/quot-for-quot-instructions/m-p/5033715#M95048</guid>
      <dc:creator>Alpha977</dc:creator>
      <dc:date>2007-03-13T10:25:32Z</dc:date>
    </item>
  </channel>
</rss>

