<?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 File listing question (ll, ls.....) in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/file-listing-question-ll-ls/m-p/2785325#M2206</link>
    <description>I have a need to list all files with an extention (i.e. 8.3 or whatever).  How can I list all files under a mountpoint where it lists the extension from the rightmost ".".  For example, I would want to list filename extensions, but use the rightmost "." in the filename as my search criteria instead of reading the filename from left to right. I need to read the file from right to left.&lt;BR /&gt;&lt;BR /&gt;Is this possible?</description>
    <pubDate>Tue, 13 Aug 2002 17:51:47 GMT</pubDate>
    <dc:creator>Joe Profaizer</dc:creator>
    <dc:date>2002-08-13T17:51:47Z</dc:date>
    <item>
      <title>File listing question (ll, ls.....)</title>
      <link>https://community.hpe.com/t5/operating-system-linux/file-listing-question-ll-ls/m-p/2785325#M2206</link>
      <description>I have a need to list all files with an extention (i.e. 8.3 or whatever).  How can I list all files under a mountpoint where it lists the extension from the rightmost ".".  For example, I would want to list filename extensions, but use the rightmost "." in the filename as my search criteria instead of reading the filename from left to right. I need to read the file from right to left.&lt;BR /&gt;&lt;BR /&gt;Is this possible?</description>
      <pubDate>Tue, 13 Aug 2002 17:51:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/file-listing-question-ll-ls/m-p/2785325#M2206</guid>
      <dc:creator>Joe Profaizer</dc:creator>
      <dc:date>2002-08-13T17:51:47Z</dc:date>
    </item>
    <item>
      <title>Re: File listing question (ll, ls.....)</title>
      <link>https://community.hpe.com/t5/operating-system-linux/file-listing-question-ll-ls/m-p/2785326#M2207</link>
      <description>Why wouldn't just this work?&lt;BR /&gt;&lt;BR /&gt;ls -l *.whatever</description>
      <pubDate>Tue, 13 Aug 2002 17:57:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/file-listing-question-ll-ls/m-p/2785326#M2207</guid>
      <dc:creator>Vernon Brown_2</dc:creator>
      <dc:date>2002-08-13T17:57:46Z</dc:date>
    </item>
    <item>
      <title>Re: File listing question (ll, ls.....)</title>
      <link>https://community.hpe.com/t5/operating-system-linux/file-listing-question-ll-ls/m-p/2785327#M2208</link>
      <description>Because some filenames have more than one "." in it.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 13 Aug 2002 18:02:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/file-listing-question-ll-ls/m-p/2785327#M2208</guid>
      <dc:creator>Joe Profaizer</dc:creator>
      <dc:date>2002-08-13T18:02:58Z</dc:date>
    </item>
    <item>
      <title>Re: File listing question (ll, ls.....)</title>
      <link>https://community.hpe.com/t5/operating-system-linux/file-listing-question-ll-ls/m-p/2785328#M2209</link>
      <description>Try&lt;BR /&gt;&lt;BR /&gt;ls *.txt&lt;BR /&gt;&lt;BR /&gt;This will list all the .txt files.&lt;BR /&gt;&lt;BR /&gt;To get a list of all the files by extention try this shell code.&lt;BR /&gt;&lt;BR /&gt;ext=$(&lt;BR /&gt;for file in *.*; do&lt;BR /&gt;    echo ${file##*.}&lt;BR /&gt;done | sort | uniq)&lt;BR /&gt;&lt;BR /&gt;for x in $ext; do&lt;BR /&gt;    ls *.$x&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 13 Aug 2002 18:23:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/file-listing-question-ll-ls/m-p/2785328#M2209</guid>
      <dc:creator>Bill Thorsteinson</dc:creator>
      <dc:date>2002-08-13T18:23:45Z</dc:date>
    </item>
  </channel>
</rss>

