<?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: list file name in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/list-file-name/m-p/3575558#M228913</link>
    <description>Well hangyu,&lt;BR /&gt;&lt;BR /&gt;This is a public help forum, but there is a point system to let people know that you have gained something from other people's help.&lt;BR /&gt;&lt;BR /&gt;You haven't yet assigned a single point. &lt;BR /&gt;&lt;BR /&gt;Don't take it the other way, you are new so might not be knowing it.</description>
    <pubDate>Mon, 04 Jul 2005 03:18:15 GMT</pubDate>
    <dc:creator>Vibhor Kumar Agarwal</dc:creator>
    <dc:date>2005-07-04T03:18:15Z</dc:date>
    <item>
      <title>list file name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/list-file-name/m-p/3575552#M228907</link>
      <description>I want to list the file name in the directory /tmp , if I use "ls -1 /tmp" ,it will list all file name and direcotoy in /tmp , if I want to list file only , want can I do ? thx</description>
      <pubDate>Mon, 04 Jul 2005 02:31:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/list-file-name/m-p/3575552#M228907</guid>
      <dc:creator>hangyu</dc:creator>
      <dc:date>2005-07-04T02:31:38Z</dc:date>
    </item>
    <item>
      <title>Re: list file name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/list-file-name/m-p/3575553#M228908</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Your question is not clear. What do you want to list from /tmp ?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Devender</description>
      <pubDate>Mon, 04 Jul 2005 02:35:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/list-file-name/m-p/3575553#M228908</guid>
      <dc:creator>Devender Khatana</dc:creator>
      <dc:date>2005-07-04T02:35:37Z</dc:date>
    </item>
    <item>
      <title>Re: list file name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/list-file-name/m-p/3575554#M228909</link>
      <description>&lt;BR /&gt;Perhaps you are thinking of something like&lt;BR /&gt;&lt;BR /&gt;ls -la /tmp/myfile&lt;BR /&gt;&lt;BR /&gt;?&lt;BR /&gt;&lt;BR /&gt;or "'ll /tmp/myfile". ls -la, same as "ll". Still old school, so i use "ls -la" :)&lt;BR /&gt;&lt;BR /&gt;or if you're looking for everything in /tmp that starts with slang in /tmp - then -:&lt;BR /&gt;&lt;BR /&gt;ls -la /tmp/slang*&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;David de Beer.</description>
      <pubDate>Mon, 04 Jul 2005 02:38:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/list-file-name/m-p/3575554#M228909</guid>
      <dc:creator>David de Beer</dc:creator>
      <dc:date>2005-07-04T02:38:54Z</dc:date>
    </item>
    <item>
      <title>Re: list file name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/list-file-name/m-p/3575555#M228910</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;interesting question - I never used 'ls -1'.&lt;BR /&gt;But simple:&lt;BR /&gt;&lt;BR /&gt;ls -F -1| grep -v /&lt;BR /&gt;&lt;BR /&gt;Option -F will give you a '/' after a directory. With 'grep -v /' you only see lines without/'&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;Volkmar&lt;BR /&gt;</description>
      <pubDate>Mon, 04 Jul 2005 02:55:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/list-file-name/m-p/3575555#M228910</guid>
      <dc:creator>V. Nyga</dc:creator>
      <dc:date>2005-07-04T02:55:29Z</dc:date>
    </item>
    <item>
      <title>Re: list file name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/list-file-name/m-p/3575556#M228911</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;try &lt;BR /&gt;&lt;BR /&gt;for I in /tmp/*&lt;BR /&gt;do&lt;BR /&gt;        if [ ! -d ${I} ]&lt;BR /&gt;        then&lt;BR /&gt;                ll ${I}&lt;BR /&gt;        fi&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Suraj</description>
      <pubDate>Mon, 04 Jul 2005 03:03:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/list-file-name/m-p/3575556#M228911</guid>
      <dc:creator>Suraj Singh_1</dc:creator>
      <dc:date>2005-07-04T03:03:19Z</dc:date>
    </item>
    <item>
      <title>Re: list file name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/list-file-name/m-p/3575557#M228912</link>
      <description>Assuming that you only want to see the files in your directory and not the sub-directories.&lt;BR /&gt;&lt;BR /&gt;ls -l | grep "^-" | awk '{ print $NF }'&lt;BR /&gt;&lt;BR /&gt;I have used l for long-listing.</description>
      <pubDate>Mon, 04 Jul 2005 03:10:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/list-file-name/m-p/3575557#M228912</guid>
      <dc:creator>Vibhor Kumar Agarwal</dc:creator>
      <dc:date>2005-07-04T03:10:29Z</dc:date>
    </item>
    <item>
      <title>Re: list file name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/list-file-name/m-p/3575558#M228913</link>
      <description>Well hangyu,&lt;BR /&gt;&lt;BR /&gt;This is a public help forum, but there is a point system to let people know that you have gained something from other people's help.&lt;BR /&gt;&lt;BR /&gt;You haven't yet assigned a single point. &lt;BR /&gt;&lt;BR /&gt;Don't take it the other way, you are new so might not be knowing it.</description>
      <pubDate>Mon, 04 Jul 2005 03:18:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/list-file-name/m-p/3575558#M228913</guid>
      <dc:creator>Vibhor Kumar Agarwal</dc:creator>
      <dc:date>2005-07-04T03:18:15Z</dc:date>
    </item>
  </channel>
</rss>

