<?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 count command. in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/count-command/m-p/2517851#M871241</link>
    <description>I have a dir /var/sendmail &lt;BR /&gt;this is where all the sendmail user files are stored. I is there a count command that I can run that tells me how many files i have in that dir ?</description>
    <pubDate>Tue, 17 Apr 2001 15:17:29 GMT</pubDate>
    <dc:creator>someone_4</dc:creator>
    <dc:date>2001-04-17T15:17:29Z</dc:date>
    <item>
      <title>count command.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/count-command/m-p/2517851#M871241</link>
      <description>I have a dir /var/sendmail &lt;BR /&gt;this is where all the sendmail user files are stored. I is there a count command that I can run that tells me how many files i have in that dir ?</description>
      <pubDate>Tue, 17 Apr 2001 15:17:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/count-command/m-p/2517851#M871241</guid>
      <dc:creator>someone_4</dc:creator>
      <dc:date>2001-04-17T15:17:29Z</dc:date>
    </item>
    <item>
      <title>Re: count command.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/count-command/m-p/2517852#M871243</link>
      <description>Hi!&lt;BR /&gt;ll /var/sendmail |wc -l</description>
      <pubDate>Tue, 17 Apr 2001 15:24:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/count-command/m-p/2517852#M871243</guid>
      <dc:creator>Pedro Sousa</dc:creator>
      <dc:date>2001-04-17T15:24:13Z</dc:date>
    </item>
    <item>
      <title>Re: count command.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/count-command/m-p/2517853#M871245</link>
      <description>Hi, if you are looking for just files and not directories then issue this command from the directory in which you want to count:&lt;BR /&gt;ls -l | grep "^-" | wc -l&lt;BR /&gt;or&lt;BR /&gt;ls -l | wc -l if you want everything. &lt;BR /&gt;If by chance you want just directories then:&lt;BR /&gt;ls -l | grep "^d" | wc -l &lt;BR /&gt;Hope this helps.&lt;BR /&gt;Rob&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 17 Apr 2001 16:29:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/count-command/m-p/2517853#M871245</guid>
      <dc:creator>Rob Smith</dc:creator>
      <dc:date>2001-04-17T16:29:52Z</dc:date>
    </item>
  </channel>
</rss>

