<?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 Re: command needed 3 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/command-needed-3/m-p/5052889#M743640</link>
    <description>Sorry for my delay in assigning Point. &lt;BR /&gt;&lt;BR /&gt;Thanks to everybody..You guy are so helpful</description>
    <pubDate>Fri, 27 Jul 2007 03:18:05 GMT</pubDate>
    <dc:creator>ng_7</dc:creator>
    <dc:date>2007-07-27T03:18:05Z</dc:date>
    <item>
      <title>command needed 3</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-needed-3/m-p/5052883#M743634</link>
      <description>hi, can please provide command for the below :&lt;BR /&gt;&lt;BR /&gt;1. to list only directory (in a directory , &lt;BR /&gt;   there may have file and subdirectory, i &lt;BR /&gt;   want to list only subdirectory)&lt;BR /&gt;2. to find out total size (KB/MB) for a &lt;BR /&gt;   specific file, eg : to find out total size &lt;BR /&gt;   for *.t files&lt;BR /&gt;&lt;BR /&gt;thanks</description>
      <pubDate>Wed, 13 Jun 2007 19:35:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-needed-3/m-p/5052883#M743634</guid>
      <dc:creator>ng_7</dc:creator>
      <dc:date>2007-06-13T19:35:54Z</dc:date>
    </item>
    <item>
      <title>Re: command needed 3</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-needed-3/m-p/5052884#M743635</link>
      <description>1) try ls -d and then man ls.&lt;BR /&gt;&lt;BR /&gt;2) ls *.t | awk '{sum += ($5 + 0)}END {print sum}'</description>
      <pubDate>Wed, 13 Jun 2007 20:46:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-needed-3/m-p/5052884#M743635</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-06-13T20:46:15Z</dc:date>
    </item>
    <item>
      <title>Re: command needed 3</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-needed-3/m-p/5052885#M743636</link>
      <description>1) try ls -d and then man ls.&lt;BR /&gt;&lt;BR /&gt;2) ls -l *.t | awk '{sum += ($5 + 0)}END {print sum}'</description>
      <pubDate>Wed, 13 Jun 2007 20:46:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-needed-3/m-p/5052885#M743636</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-06-13T20:46:37Z</dc:date>
    </item>
    <item>
      <title>Re: command needed 3</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-needed-3/m-p/5052886#M743637</link>
      <description>&amp;gt;1. to list only directory (in a directory, there may have file and subdirectory, I want to list only subdirectory)&lt;BR /&gt;&lt;BR /&gt;Not sure what you are saying, just list what you want. If you only want the name of the directory, add "-d".&lt;BR /&gt;&lt;BR /&gt;$ ll subdirectory&lt;BR /&gt;&lt;BR /&gt;&amp;gt;2. to find out total size (KB/MB) for a specific file, eg: to find out total size for *.t files&lt;BR /&gt;&lt;BR /&gt;Use awk:&lt;BR /&gt;$ ll *.t | awk '{ total+=$5 } END { print "Total MB:", total/1000000 }'&lt;BR /&gt;&lt;BR /&gt;Of course you may want (1024*1024) for MB.</description>
      <pubDate>Thu, 14 Jun 2007 00:12:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-needed-3/m-p/5052886#M743637</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-06-14T00:12:55Z</dc:date>
    </item>
    <item>
      <title>Re: command needed 3</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-needed-3/m-p/5052887#M743638</link>
      <description>Hi ng,&lt;BR /&gt; &lt;BR /&gt;Hi ng,&lt;BR /&gt; &lt;BR /&gt;Try  ls -l | egrep '^d', to get a list of subdirectories in a folder.  &lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Vad&lt;BR /&gt;</description>
      <pubDate>Mon, 18 Jun 2007 06:18:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-needed-3/m-p/5052887#M743638</guid>
      <dc:creator>Vadim Loginov</dc:creator>
      <dc:date>2007-06-18T06:18:04Z</dc:date>
    </item>
    <item>
      <title>Re: command needed 3</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-needed-3/m-p/5052888#M743639</link>
      <description>&amp;gt;Vad: Try ls -l | egrep '^d'&lt;BR /&gt;&lt;BR /&gt;No real reason to use egrep when grep will do.</description>
      <pubDate>Mon, 18 Jun 2007 08:07:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-needed-3/m-p/5052888#M743639</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-06-18T08:07:17Z</dc:date>
    </item>
    <item>
      <title>Re: command needed 3</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-needed-3/m-p/5052889#M743640</link>
      <description>Sorry for my delay in assigning Point. &lt;BR /&gt;&lt;BR /&gt;Thanks to everybody..You guy are so helpful</description>
      <pubDate>Fri, 27 Jul 2007 03:18:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-needed-3/m-p/5052889#M743640</guid>
      <dc:creator>ng_7</dc:creator>
      <dc:date>2007-07-27T03:18:05Z</dc:date>
    </item>
  </channel>
</rss>

