<?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: Meaning of hash mark in long listing? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/meaning-of-hash-mark-in-long-listing/m-p/2751273#M70243</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Does this appear on any other system?&lt;BR /&gt;Do you have any starnge aliases in use?&lt;BR /&gt;&lt;BR /&gt;You not using a different 'ls' command like 'super ls' ?&lt;BR /&gt;&lt;BR /&gt;Michael</description>
    <pubDate>Tue, 25 Jun 2002 06:27:48 GMT</pubDate>
    <dc:creator>Michael Tully</dc:creator>
    <dc:date>2002-06-25T06:27:48Z</dc:date>
    <item>
      <title>Meaning of hash mark in long listing?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/meaning-of-hash-mark-in-long-listing/m-p/2751272#M70242</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;this really is daft.&lt;BR /&gt;&lt;BR /&gt;I get inexplicable hash marks (i.e. '#') in the 3rd field of a long listing.&lt;BR /&gt;Having thought this is yet another unknown (to me) feature of ls, I consulted the ls and ll manpages but haven't found a single occurence of the pattern '#', nor any explanation for it.&lt;BR /&gt;Is (hopefully not) the filesystem maybe screwed up so that the stat syscalls output an additional field with some memory garbage?&lt;BR /&gt;Has anyone a eplanation?&lt;BR /&gt;&lt;BR /&gt;# ll /usr/local     &lt;BR /&gt;total 6&lt;BR /&gt;drwxr-xr-x   2 # bin      bin           3072 Jun 18 08:40 bin&lt;BR /&gt;drwxr-xr-x   2 # bin      bin             96 Jun 18 10:26 etc&lt;BR /&gt;drwxr-xr-x   2 # bin      bin             96 Jun  6 09:52 games&lt;BR /&gt;drwxr-xr-x   2 # bin      bin             96 Jun  6 09:52 lib&lt;BR /&gt;drwxr-xr-x   2 # bin      bin             96 Jun  6 09:33 man&lt;BR /&gt;</description>
      <pubDate>Tue, 25 Jun 2002 06:17:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/meaning-of-hash-mark-in-long-listing/m-p/2751272#M70242</guid>
      <dc:creator>Ralph Grothe</dc:creator>
      <dc:date>2002-06-25T06:17:54Z</dc:date>
    </item>
    <item>
      <title>Re: Meaning of hash mark in long listing?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/meaning-of-hash-mark-in-long-listing/m-p/2751273#M70243</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Does this appear on any other system?&lt;BR /&gt;Do you have any starnge aliases in use?&lt;BR /&gt;&lt;BR /&gt;You not using a different 'ls' command like 'super ls' ?&lt;BR /&gt;&lt;BR /&gt;Michael</description>
      <pubDate>Tue, 25 Jun 2002 06:27:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/meaning-of-hash-mark-in-long-listing/m-p/2751273#M70243</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2002-06-25T06:27:48Z</dc:date>
    </item>
    <item>
      <title>Re: Meaning of hash mark in long listing?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/meaning-of-hash-mark-in-long-listing/m-p/2751274#M70244</link>
      <description>&lt;BR /&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;Check if you have a  private  ll in your&lt;BR /&gt;search-path or an alias with the name&lt;BR /&gt;ll&lt;BR /&gt;&lt;BR /&gt;Or you could also try to see if you get&lt;BR /&gt;the same output  using these commands:&lt;BR /&gt;&lt;BR /&gt;/usr/bin/ll&lt;BR /&gt;/usr/bin/ls -l&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;olav</description>
      <pubDate>Tue, 25 Jun 2002 06:28:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/meaning-of-hash-mark-in-long-listing/m-p/2751274#M70244</guid>
      <dc:creator>Olav Baadsvik</dc:creator>
      <dc:date>2002-06-25T06:28:19Z</dc:date>
    </item>
    <item>
      <title>Re: Meaning of hash mark in long listing?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/meaning-of-hash-mark-in-long-listing/m-p/2751275#M70245</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;i've never seen this before.&lt;BR /&gt;Try /sbin/ls -l /usr/local&lt;BR /&gt;&lt;BR /&gt;Regards</description>
      <pubDate>Tue, 25 Jun 2002 06:29:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/meaning-of-hash-mark-in-long-listing/m-p/2751275#M70245</guid>
      <dc:creator>Andreas Voss</dc:creator>
      <dc:date>2002-06-25T06:29:40Z</dc:date>
    </item>
    <item>
      <title>Re: Meaning of hash mark in long listing?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/meaning-of-hash-mark-in-long-listing/m-p/2751276#M70246</link>
      <description>This is strange, isn't it?&lt;BR /&gt;&lt;BR /&gt;I cannot find any set alii or function definitions, neither for ll nor ls.&lt;BR /&gt;&lt;BR /&gt;The output remains the same even when I invoke the commands using the absolute path (i.e. not evaluating PATH):&lt;BR /&gt;&lt;BR /&gt;# type ll&lt;BR /&gt;ll is /usr/bin/ll&lt;BR /&gt;# type ls&lt;BR /&gt;ls is a tracked alias for /usr/bin/ls&lt;BR /&gt;# alias ls&lt;BR /&gt;ls: shell alias not found.&lt;BR /&gt;# typeset -f ll&lt;BR /&gt;# /usr/bin/ll /usr/local&lt;BR /&gt;total 6&lt;BR /&gt;drwxr-xr-x   2 # bin      bin           3072 Jun 18 08:40 bin&lt;BR /&gt;drwxr-xr-x   2 # bin      bin             96 Jun 18 10:26 etc&lt;BR /&gt;drwxr-xr-x   2 # bin      bin             96 Jun  6 09:52 games&lt;BR /&gt;drwxr-xr-x   2 # bin      bin             96 Jun  6 09:52 lib&lt;BR /&gt;drwxr-xr-x   2 # bin      bin             96 Jun  6 09:33 man&lt;BR /&gt;# /usr/bin/ls -l /usr/local&lt;BR /&gt;total 6&lt;BR /&gt;drwxr-xr-x   2 # bin      bin           3072 Jun 18 08:40 bin&lt;BR /&gt;drwxr-xr-x   2 # bin      bin             96 Jun 18 10:26 etc&lt;BR /&gt;drwxr-xr-x   2 # bin      bin             96 Jun  6 09:52 games&lt;BR /&gt;drwxr-xr-x   2 # bin      bin             96 Jun  6 09:52 lib&lt;BR /&gt;drwxr-xr-x   2 # bin      bin             96 Jun  6 09:33 man&lt;BR /&gt;# /sbin/ll /usr/local&lt;BR /&gt;sh: /sbin/ll:  not found.&lt;BR /&gt;# /sbin/ls -l /usr/local&lt;BR /&gt;total 6&lt;BR /&gt;drwxr-xr-x   2 # bin      bin           3072 Jun 18 08:40 bin&lt;BR /&gt;drwxr-xr-x   2 # bin      bin             96 Jun 18 10:26 etc&lt;BR /&gt;drwxr-xr-x   2 # bin      bin             96 Jun  6 09:52 games&lt;BR /&gt;drwxr-xr-x   2 # bin      bin             96 Jun  6 09:52 lib&lt;BR /&gt;drwxr-xr-x   2 # bin      bin             96 Jun  6 09:33 man&lt;BR /&gt;</description>
      <pubDate>Tue, 25 Jun 2002 06:51:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/meaning-of-hash-mark-in-long-listing/m-p/2751276#M70246</guid>
      <dc:creator>Ralph Grothe</dc:creator>
      <dc:date>2002-06-25T06:51:28Z</dc:date>
    </item>
    <item>
      <title>Re: Meaning of hash mark in long listing?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/meaning-of-hash-mark-in-long-listing/m-p/2751277#M70247</link>
      <description>The culprit seems to be a user account "# bin"   %-{&lt;BR /&gt;Dunno, how this could sneak in&lt;BR /&gt;&lt;BR /&gt;# id bin&lt;BR /&gt;uid=2(# bin) gid=2(bin)&lt;BR /&gt;&lt;BR /&gt;But can I do a "userdel '# bin'"?</description>
      <pubDate>Tue, 25 Jun 2002 06:59:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/meaning-of-hash-mark-in-long-listing/m-p/2751277#M70247</guid>
      <dc:creator>Ralph Grothe</dc:creator>
      <dc:date>2002-06-25T06:59:40Z</dc:date>
    </item>
    <item>
      <title>Re: Meaning of hash mark in long listing?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/meaning-of-hash-mark-in-long-listing/m-p/2751278#M70248</link>
      <description>Oops, got it&lt;BR /&gt;Someone screwed up the /etc/passwd,&lt;BR /&gt;see&lt;BR /&gt;# grep ^#\ bin /etc/passwd&lt;BR /&gt;# bin:*:2:2::/usr/bin:/sbin/sh&lt;BR /&gt;&lt;BR /&gt;but luckily this entry also exists:&lt;BR /&gt;# grep ^bin /etc/passwd   &lt;BR /&gt;bin:*:2:2::/usr/bin:/sbin/sh&lt;BR /&gt;&lt;BR /&gt;So I will vipw, remove "# bin" and chown files belonging to "# bin" to now belong to bin.&lt;BR /&gt;&lt;BR /&gt;Sorry, for confusing you</description>
      <pubDate>Tue, 25 Jun 2002 07:04:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/meaning-of-hash-mark-in-long-listing/m-p/2751278#M70248</guid>
      <dc:creator>Ralph Grothe</dc:creator>
      <dc:date>2002-06-25T07:04:23Z</dc:date>
    </item>
    <item>
      <title>Re: Meaning of hash mark in long listing?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/meaning-of-hash-mark-in-long-listing/m-p/2751279#M70249</link>
      <description>Hi Ralph,&lt;BR /&gt;&lt;BR /&gt;no, don't delete user bin! But you can change the username with usermod- command to fix your problem.&lt;BR /&gt;&lt;BR /&gt;Allways stay on the bright side of life!&lt;BR /&gt;&lt;BR /&gt;Peter</description>
      <pubDate>Tue, 25 Jun 2002 07:06:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/meaning-of-hash-mark-in-long-listing/m-p/2751279#M70249</guid>
      <dc:creator>Peter Kloetgen</dc:creator>
      <dc:date>2002-06-25T07:06:14Z</dc:date>
    </item>
    <item>
      <title>Re: Meaning of hash mark in long listing?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/meaning-of-hash-mark-in-long-listing/m-p/2751280#M70250</link>
      <description>Hi Peter,&lt;BR /&gt;&lt;BR /&gt;I searched the filsystems for files belonging to "# bin".&lt;BR /&gt;Argh, my worst fears seem come true.&lt;BR /&gt;As it looks almost every file normally belonging to bin has the screwed ownership:&lt;BR /&gt;&lt;BR /&gt;# find / -user '# bin' |tee ~/files_of_#_bin.lst&lt;BR /&gt;# wc -l ~/files_of_#_bin.lst&lt;BR /&gt;33845 /ROOT/files_of_#_bin.lst&lt;BR /&gt;&lt;BR /&gt;This must have happened when colleagues converted from HP-UX 10.20 to 11.00 while I was on holiday.&lt;BR /&gt;Don't know what on earth made them comment lines in /etc/passwd?&lt;BR /&gt;&lt;BR /&gt;Can I reassign ownerships by doing simply this, or would do even more harm?&lt;BR /&gt;&lt;BR /&gt;find / -user '# bin' -exec chown bin {} \;&lt;BR /&gt;</description>
      <pubDate>Tue, 25 Jun 2002 07:24:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/meaning-of-hash-mark-in-long-listing/m-p/2751280#M70250</guid>
      <dc:creator>Ralph Grothe</dc:creator>
      <dc:date>2002-06-25T07:24:03Z</dc:date>
    </item>
    <item>
      <title>Re: Meaning of hash mark in long listing?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/meaning-of-hash-mark-in-long-listing/m-p/2751281#M70251</link>
      <description>Hi Ralph,&lt;BR /&gt;&lt;BR /&gt;i thought this over a little bit, you should use SAM, delete the user "# bin" and use the option "assign data to a new user", and give all data from your corrupt user to correct user bin. This should do it for you.&lt;BR /&gt;&lt;BR /&gt;Your find- command seems also to be ok. If you use it, don't forget to delete the "# bin"- user after it.&lt;BR /&gt;&lt;BR /&gt;Allways stay on the bright side of life!&lt;BR /&gt;&lt;BR /&gt;Peter</description>
      <pubDate>Tue, 25 Jun 2002 07:29:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/meaning-of-hash-mark-in-long-listing/m-p/2751281#M70251</guid>
      <dc:creator>Peter Kloetgen</dc:creator>
      <dc:date>2002-06-25T07:29:51Z</dc:date>
    </item>
    <item>
      <title>Re: Meaning of hash mark in long listing?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/meaning-of-hash-mark-in-long-listing/m-p/2751282#M70252</link>
      <description>Sigh,&lt;BR /&gt;relieved, the find chown and userdel worked.&lt;BR /&gt;now everything looks as usually. :-)</description>
      <pubDate>Tue, 25 Jun 2002 07:41:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/meaning-of-hash-mark-in-long-listing/m-p/2751282#M70252</guid>
      <dc:creator>Ralph Grothe</dc:creator>
      <dc:date>2002-06-25T07:41:23Z</dc:date>
    </item>
    <item>
      <title>Re: Meaning of hash mark in long listing?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/meaning-of-hash-mark-in-long-listing/m-p/2751283#M70253</link>
      <description>&lt;BR /&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;Interesting  case!!&lt;BR /&gt;Even though  the problem seems to be solved&lt;BR /&gt;I have a comment.&lt;BR /&gt;&lt;BR /&gt;I think it could would be ok  just  to&lt;BR /&gt;delete the line  for the # bin user in&lt;BR /&gt;/etc/passwd&lt;BR /&gt;This because the  UID  was the same (2)&lt;BR /&gt;for both  user bin and # bin&lt;BR /&gt;What is stored in the  file's inode is the&lt;BR /&gt;UID not the name # bin  or bin.&lt;BR /&gt;So when  a ll is produced  /etc/passwd  is&lt;BR /&gt;searched for the  UID  2  and the username&lt;BR /&gt;assosiated with UID 2  is then used in the&lt;BR /&gt;output.  I would guess that # bin was in front&lt;BR /&gt;of bin  in /etc/passwd&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;</description>
      <pubDate>Tue, 25 Jun 2002 07:59:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/meaning-of-hash-mark-in-long-listing/m-p/2751283#M70253</guid>
      <dc:creator>Olav Baadsvik</dc:creator>
      <dc:date>2002-06-25T07:59:46Z</dc:date>
    </item>
    <item>
      <title>Re: Meaning of hash mark in long listing?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/meaning-of-hash-mark-in-long-listing/m-p/2751284#M70254</link>
      <description>Olav has hit it right on the head - all you needed to do was remove the offending entry from /etc/passwd and everything would have been fine.&lt;BR /&gt;&lt;BR /&gt;For What It's Worth,&lt;BR /&gt;Pete</description>
      <pubDate>Tue, 25 Jun 2002 10:20:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/meaning-of-hash-mark-in-long-listing/m-p/2751284#M70254</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2002-06-25T10:20:08Z</dc:date>
    </item>
    <item>
      <title>Re: Meaning of hash mark in long listing?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/meaning-of-hash-mark-in-long-listing/m-p/2751285#M70255</link>
      <description>Olaf, Pete,&lt;BR /&gt;&lt;BR /&gt;you were right both, of course.&lt;BR /&gt;&lt;BR /&gt;This was just my foolish bad intuition to have chmoded through find, which as you stressed, was silly.&lt;BR /&gt;Afterwards I also saw that simply the deletion of the commented lines from /etc/passwd would have sufficed since both *bin accounts had the same ID.&lt;BR /&gt;Thus the find rather was a waste of energy.&lt;BR /&gt;But when the result is right (just like the outcome of the world cup semi-final for  Germany, as I heard right now) who cares for style ;-)</description>
      <pubDate>Tue, 25 Jun 2002 13:33:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/meaning-of-hash-mark-in-long-listing/m-p/2751285#M70255</guid>
      <dc:creator>Ralph Grothe</dc:creator>
      <dc:date>2002-06-25T13:33:25Z</dc:date>
    </item>
  </channel>
</rss>

