<?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: Problems with ls in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-ls/m-p/3179967#M794887</link>
    <description>Hi Jeff,&lt;BR /&gt;&lt;BR /&gt;It sounds to me as if your files have some hidden chartacters included in the filenames.&lt;BR /&gt;&lt;BR /&gt;Try doing something like&lt;BR /&gt;ls -l S* to see if the files are listed; then&lt;BR /&gt;ls -l SN*&lt;BR /&gt;ls -l SNN*&lt;BR /&gt;etc etc to try to establish where the hidden characters are.&lt;BR /&gt;&lt;BR /&gt;Hope this helps you in some way,&lt;BR /&gt;&lt;BR /&gt;John</description>
    <pubDate>Mon, 02 Feb 2004 06:25:10 GMT</pubDate>
    <dc:creator>John Strang</dc:creator>
    <dc:date>2004-02-02T06:25:10Z</dc:date>
    <item>
      <title>Problems with ls</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-ls/m-p/3179958#M794878</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;I have a listing of files in a directory. When I use ls to list the files, the list appears as output.&lt;BR /&gt;&lt;BR /&gt;However, when I try to ls an INDIVIDUAL file the file is not recognised. This applies to the cat , file commands also.&lt;BR /&gt;&lt;BR /&gt;Can anyone help ?&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;&lt;BR /&gt;Jeff</description>
      <pubDate>Mon, 02 Feb 2004 05:58:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-ls/m-p/3179958#M794878</guid>
      <dc:creator>Jeff Picton</dc:creator>
      <dc:date>2004-02-02T05:58:16Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with ls</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-ls/m-p/3179959#M794879</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;when you mean not found, try ls -lb to see any invisable characters in the name.&lt;BR /&gt;&lt;BR /&gt;Michael&lt;BR /&gt;</description>
      <pubDate>Mon, 02 Feb 2004 06:00:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-ls/m-p/3179959#M794879</guid>
      <dc:creator>Michael Schulte zur Sur</dc:creator>
      <dc:date>2004-02-02T06:00:39Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with ls</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-ls/m-p/3179960#M794880</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;When I do that I get the following :-&lt;BR /&gt;&lt;BR /&gt;root@telesto[dublin_out1] ls -lb SNNL54020700_20040202_072325&lt;BR /&gt;SNNL54020700_20040202_072325 not found</description>
      <pubDate>Mon, 02 Feb 2004 06:03:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-ls/m-p/3179960#M794880</guid>
      <dc:creator>Jeff Picton</dc:creator>
      <dc:date>2004-02-02T06:03:29Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with ls</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-ls/m-p/3179961#M794881</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;just do a ls -lb without files as parameter&lt;BR /&gt;&lt;BR /&gt;Michael&lt;BR /&gt;</description>
      <pubDate>Mon, 02 Feb 2004 06:12:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-ls/m-p/3179961#M794881</guid>
      <dc:creator>Michael Schulte zur Sur</dc:creator>
      <dc:date>2004-02-02T06:12:41Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with ls</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-ls/m-p/3179962#M794882</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;Yes as I say I can do an ls -lb in the directory to get a list of files but cannot do an ls -lb on an individual file.&lt;BR /&gt;&lt;BR /&gt;Jeff</description>
      <pubDate>Mon, 02 Feb 2004 06:14:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-ls/m-p/3179962#M794882</guid>
      <dc:creator>Jeff Picton</dc:creator>
      <dc:date>2004-02-02T06:14:19Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with ls</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-ls/m-p/3179963#M794883</link>
      <description>Hi Jeff,&lt;BR /&gt;&lt;BR /&gt;What happens when you use ls -lb on the dir?  does it show your SNNLwhatever filename with any extra characters?&lt;BR /&gt;&lt;BR /&gt;Does ls -lb *SNNL54020700_20040202_072325* work?&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;&lt;BR /&gt;Darren.</description>
      <pubDate>Mon, 02 Feb 2004 06:18:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-ls/m-p/3179963#M794883</guid>
      <dc:creator>Darren Prior</dc:creator>
      <dc:date>2004-02-02T06:18:45Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with ls</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-ls/m-p/3179964#M794884</link>
      <description>$which ls</description>
      <pubDate>Mon, 02 Feb 2004 06:19:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-ls/m-p/3179964#M794884</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2004-02-02T06:19:38Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with ls</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-ls/m-p/3179965#M794885</link>
      <description>Hi Darren&lt;BR /&gt;&lt;BR /&gt;As you see the reply to your question is yes - as below :-&lt;BR /&gt;&lt;BR /&gt;ls -lb *SNNL54020700_20040202_072325*&lt;BR /&gt;-rw-r--r--   1 root       sys            115 Feb  2 07:23 SNNL54020700_20040202_072325&lt;BR /&gt;&lt;BR /&gt;Jeff</description>
      <pubDate>Mon, 02 Feb 2004 06:22:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-ls/m-p/3179965#M794885</guid>
      <dc:creator>Jeff Picton</dc:creator>
      <dc:date>2004-02-02T06:22:17Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with ls</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-ls/m-p/3179966#M794886</link>
      <description>That's good news - it suggests there is any extra character (or characters) at the start and/or end of the filename.  Repeat the test but leave off one of the asterisks to determine which end of the filename has the problem.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;&lt;BR /&gt;Darren.</description>
      <pubDate>Mon, 02 Feb 2004 06:24:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-ls/m-p/3179966#M794886</guid>
      <dc:creator>Darren Prior</dc:creator>
      <dc:date>2004-02-02T06:24:05Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with ls</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-ls/m-p/3179967#M794887</link>
      <description>Hi Jeff,&lt;BR /&gt;&lt;BR /&gt;It sounds to me as if your files have some hidden chartacters included in the filenames.&lt;BR /&gt;&lt;BR /&gt;Try doing something like&lt;BR /&gt;ls -l S* to see if the files are listed; then&lt;BR /&gt;ls -l SN*&lt;BR /&gt;ls -l SNN*&lt;BR /&gt;etc etc to try to establish where the hidden characters are.&lt;BR /&gt;&lt;BR /&gt;Hope this helps you in some way,&lt;BR /&gt;&lt;BR /&gt;John</description>
      <pubDate>Mon, 02 Feb 2004 06:25:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-ls/m-p/3179967#M794887</guid>
      <dc:creator>John Strang</dc:creator>
      <dc:date>2004-02-02T06:25:10Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with ls</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-ls/m-p/3179968#M794888</link>
      <description>Try running next ls command to see if something is behind the name of the file (like a space)&lt;BR /&gt;ls | awk -Feol '{ printf "|%s|\n",$1 }'&lt;BR /&gt;output will be like:&lt;BR /&gt;|scripts|&lt;BR /&gt;|t|&lt;BR /&gt;|tmp   |&lt;BR /&gt;&lt;BR /&gt;The tmp file has space behind the filename.&lt;BR /&gt;Hopes this helps you to figure out what the problem is.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Peter&lt;BR /&gt;</description>
      <pubDate>Mon, 02 Feb 2004 06:26:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-ls/m-p/3179968#M794888</guid>
      <dc:creator>Hoefnix</dc:creator>
      <dc:date>2004-02-02T06:26:24Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with ls</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-ls/m-p/3179969#M794889</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;I get the following :-&lt;BR /&gt;&lt;BR /&gt;root@telesto[dublin_out1] ls | awk -Feol '{ printf "|%s|\n",$1 }' | more&lt;BR /&gt;|SIGR21010300_20040201_031111        |&lt;BR /&gt;|SIGR21010300_20040201_031139        |&lt;BR /&gt;|SIGR21010300_20040201_034926        |&lt;BR /&gt;|SIGR21010900_20040201_091011        |&lt;BR /&gt;|SIGR21010900_20040201_091100        |&lt;BR /&gt;|SIGR21010900_20040201_093457        |&lt;BR /&gt;|SIGR21011500_20040201_151004        |&lt;BR /&gt;|SIGR21011500_20040201_151129        |&lt;BR /&gt;|SIGR21011500_20040201_152144        |&lt;BR /&gt;|SIGR21012100_20040201_211001        |&lt;BR /&gt;|SIGR21012100_20040201_211138        |&lt;BR /&gt;|SIGR21012100_20040201_211836        |&lt;BR /&gt;|SIGR21012100_20040201_212920        |&lt;BR /&gt;|SIGR21020300_20040202_031010        |&lt;BR /&gt;|SIGR21020300_20040202_033906        |&lt;BR /&gt;|SIGR21020900_20040202_091051        |&lt;BR /&gt;</description>
      <pubDate>Mon, 02 Feb 2004 06:32:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-ls/m-p/3179969#M794889</guid>
      <dc:creator>Jeff Picton</dc:creator>
      <dc:date>2004-02-02T06:32:28Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with ls</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-ls/m-p/3179970#M794890</link>
      <description>You can see any extra character with&lt;BR /&gt;&lt;BR /&gt;ls *SNNL54020700_20040202_072325* | od -x&lt;BR /&gt;&lt;BR /&gt;Michael&lt;BR /&gt;</description>
      <pubDate>Mon, 02 Feb 2004 06:33:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-ls/m-p/3179970#M794890</guid>
      <dc:creator>Michael Schulte zur Sur</dc:creator>
      <dc:date>2004-02-02T06:33:15Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with ls</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-ls/m-p/3179971#M794891</link>
      <description>Jeff,&lt;BR /&gt;&lt;BR /&gt;It looks like you have 1 or multiple spaces(forum removes the multiples) behind each filename.&lt;BR /&gt;&lt;BR /&gt;use the * behind the filename in your cat command to view the file (or reuse the awk from the ls)&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Peter</description>
      <pubDate>Mon, 02 Feb 2004 06:36:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-ls/m-p/3179971#M794891</guid>
      <dc:creator>Hoefnix</dc:creator>
      <dc:date>2004-02-02T06:36:28Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with ls</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-ls/m-p/3179972#M794892</link>
      <description>Hi &lt;BR /&gt;&lt;BR /&gt;Thanks for your replies.&lt;BR /&gt;&lt;BR /&gt;We have discovered multiple white spaces after the file name.&lt;BR /&gt;&lt;BR /&gt;Jeff</description>
      <pubDate>Mon, 02 Feb 2004 06:45:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-ls/m-p/3179972#M794892</guid>
      <dc:creator>Jeff Picton</dc:creator>
      <dc:date>2004-02-02T06:45:07Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with ls</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-ls/m-p/3179973#M794893</link>
      <description>This is late for the party but&lt;BR /&gt;&lt;BR /&gt;To see a file:&lt;BR /&gt;ls | cat -vet  (shows non-printing characters, tabs and form-feeds visibly, with a $ as the end of line marker.)&lt;BR /&gt;&lt;BR /&gt;To work with a file:&lt;BR /&gt;&lt;BR /&gt;ls -i ( to get the inum ) and then&lt;BR /&gt;find -inum xxx -exec somecommand {} \;</description>
      <pubDate>Tue, 03 Feb 2004 15:24:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-ls/m-p/3179973#M794893</guid>
      <dc:creator>Clay Jordan</dc:creator>
      <dc:date>2004-02-03T15:24:03Z</dc:date>
    </item>
  </channel>
</rss>

