<?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: ls command in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ls-command/m-p/3175378#M793953</link>
    <description>Because ls uses the getopts convention, you can terminate the search for additional "-" options by using "--".&lt;BR /&gt;&lt;BR /&gt;e.g.&lt;BR /&gt;ls -l -- -EE-FILENAME&lt;BR /&gt;the -l will be recognized and honored, "--" tells ls no more options so that everything after is a filename.&lt;BR /&gt;</description>
    <pubDate>Tue, 27 Jan 2004 11:44:19 GMT</pubDate>
    <dc:creator>A. Clay Stephenson</dc:creator>
    <dc:date>2004-01-27T11:44:19Z</dc:date>
    <item>
      <title>ls command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ls-command/m-p/3175376#M793951</link>
      <description>I need some HP-UX help with listing a file with meatacharaters at the beginning of the file name.  The file looks like this:&lt;BR /&gt;&lt;BR /&gt;-EE-FILENAME&lt;BR /&gt;&lt;BR /&gt;when I try and run a simple ls command the OS interpets the -E as an option and will not list the file.  Even if I put the filename in double quotes I still can't get the OS to recognize the file as a file and not an option.  In AIX I can use the # on files like this.  What can I use for HPUX?</description>
      <pubDate>Tue, 27 Jan 2004 11:40:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ls-command/m-p/3175376#M793951</guid>
      <dc:creator>Donna Powell</dc:creator>
      <dc:date>2004-01-27T11:40:48Z</dc:date>
    </item>
    <item>
      <title>Re: ls command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ls-command/m-p/3175377#M793952</link>
      <description>Type the following&lt;BR /&gt;&lt;BR /&gt;ls -- -EE-FILENAME</description>
      <pubDate>Tue, 27 Jan 2004 11:44:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ls-command/m-p/3175377#M793952</guid>
      <dc:creator>Jdamian</dc:creator>
      <dc:date>2004-01-27T11:44:01Z</dc:date>
    </item>
    <item>
      <title>Re: ls command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ls-command/m-p/3175378#M793953</link>
      <description>Because ls uses the getopts convention, you can terminate the search for additional "-" options by using "--".&lt;BR /&gt;&lt;BR /&gt;e.g.&lt;BR /&gt;ls -l -- -EE-FILENAME&lt;BR /&gt;the -l will be recognized and honored, "--" tells ls no more options so that everything after is a filename.&lt;BR /&gt;</description>
      <pubDate>Tue, 27 Jan 2004 11:44:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ls-command/m-p/3175378#M793953</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2004-01-27T11:44:19Z</dc:date>
    </item>
    <item>
      <title>Re: ls command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ls-command/m-p/3175379#M793954</link>
      <description>You need to tell the command that anything that follows is not an option to the command.&lt;BR /&gt;&lt;BR /&gt;Do this using --&lt;BR /&gt;&lt;BR /&gt;eg:&lt;BR /&gt;&lt;BR /&gt;ls -- -EE-FILENAME</description>
      <pubDate>Tue, 27 Jan 2004 11:44:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ls-command/m-p/3175379#M793954</guid>
      <dc:creator>Chris Wilshaw</dc:creator>
      <dc:date>2004-01-27T11:44:27Z</dc:date>
    </item>
    <item>
      <title>Re: ls command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ls-command/m-p/3175380#M793955</link>
      <description>use the esacpe or \ character as in:&lt;BR /&gt;ls \-EE-FILENAME&lt;BR /&gt;The \ escapes the special meaning of the next character immeidately following it.</description>
      <pubDate>Tue, 27 Jan 2004 11:44:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ls-command/m-p/3175380#M793955</guid>
      <dc:creator>melvyn burnard</dc:creator>
      <dc:date>2004-01-27T11:44:49Z</dc:date>
    </item>
    <item>
      <title>Re: ls command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ls-command/m-p/3175381#M793956</link>
      <description>You can use "ls -b" to output the nonprinting and/or metacharacters in octal, and you should be able to use the backslash key along with the appropriate octal notation to reference the file.</description>
      <pubDate>Tue, 27 Jan 2004 11:46:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ls-command/m-p/3175381#M793956</guid>
      <dc:creator>Kenneth Platz</dc:creator>
      <dc:date>2004-01-27T11:46:24Z</dc:date>
    </item>
    <item>
      <title>Re: ls command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ls-command/m-p/3175382#M793957</link>
      <description>Thank you all for your replys.  They were are great suggestions to resolve my problem.  Thank you so much</description>
      <pubDate>Tue, 27 Jan 2004 11:48:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ls-command/m-p/3175382#M793957</guid>
      <dc:creator>Donna Powell</dc:creator>
      <dc:date>2004-01-27T11:48:19Z</dc:date>
    </item>
    <item>
      <title>Re: ls command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ls-command/m-p/3175383#M793958</link>
      <description>one more thing that is not widely used...&lt;BR /&gt;&lt;BR /&gt;If you use the ./ in front of the filename it will allow you to rm or mv it...&lt;BR /&gt;&lt;BR /&gt;mv ./-EE--filename /tmp/&lt;BR /&gt;cp ./-EE--filename EE-filename&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Also, great for use in scripts where you want to make sure you refer to a file in your current directory and not one similarly named in your $PATH!</description>
      <pubDate>Wed, 28 Jan 2004 16:32:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ls-command/m-p/3175383#M793958</guid>
      <dc:creator>Todd McDaniel_1</dc:creator>
      <dc:date>2004-01-28T16:32:58Z</dc:date>
    </item>
  </channel>
</rss>

