ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Learning the Mac OS X Terminal, Part 4
Subject:   Addendum -- /usr/local/bin
Date:   2002-03-28 13:39:13
From:   network23
Response to: Addendum -- /usr/local/bin

Still not solved. I really hate knowing so little about this stuff that I can't even effectively troubleshoot simple stuff!


Re the other message: which cc returns /usr/bin/cc


I do have a bin directory. When I enter ls sbin (why sbin and not bin?) it says I don't have sbin.


ls returns...
bin include lib samba share


ls sbin returns...No such file or directory.


ll returns this...
drwxr-xr-x 7 root wheel 194 Sep 26 2001 .
drwxr-xr-x 10 root wheel 296 Sep 2 2001 ..
drwxr-xr-x 30 root wheel 976 Jan 29 10:43 bin
drwxr-xr-x 3 root wheel 264 Sep 26 2001 include
drwxr-xr-x 4 root wheel 264 Sep 26 2001 lib
drwxr-xr-x 9 root wheel 264 Apr 20 2001 samba
drwxr-xr-x 3 root wheel 264 Apr 1 2001 share


but ll bin returns this (truncated for length)


total 972
drwxr-xr-x 30 root wheel 976 Jan 29 10:43 .
drwxr-xr-x 7 root wheel 194 Sep 26 2001 ..
lrwxr-xr-x 1 root wheel 33 Jan 29 10:43 addtosmbpass -> /usr/local/samba/bin/addtosmbpass
lrwxr-xr-x 1 root wheel 38 Jan 29 10:43 convert_smbpasswd -> /usr/local/samba/bin/convert_s
mbpasswd
-rwxr-xr-x 1 rmartin staff 207208 Mar 9 2001 df
-rwxr-xr-x 1 rmartin staff 174612 Mar 9 2001 dircolors
-rwxr-xr-x 1 rmartin staff 204092 Mar 9 2001 du
-rwxr-xr-x 1 rmartin staff 303720 Mar 9 2001 ls
lrwxr-xr-x 1 root wheel 36 Jan 29 10:43 make_printerdef -> /usr/local/samba/bin/make_printe
rdef
lrwxr-xr-x 1 root wheel 37 Jan 29 10:43 make_smbcodepage -> /usr/local/samba/bin/make_smbco
depage
lrwxr-xr-x 1 root wheel 36 Jan 29 10:43 make_unicodemap -> /usr/local/samba/bin/make_unicod
emap
lrwxr-xr-x 1 root wheel 25 Jan 29 10:43 nmbd -> /usr/local/samba/bin/nmbd
lrwxr-xr-x 1 root wheel 30 Jan 29 10:43 nmblookup -> /usr/local/samba/bin/nmblookup
-rwxr-xr-x 1 root wheel 1591 Sep 26 2001 pear
-rwxr-xr-x 1 root wheel 474 Sep 26 2001 php-config
-rwxr-xr-x 1 root wheel 593 Sep 26 2001 phpextdist


Why such an apparently different list of files.


Anyway, it appears that I have bin and it is a directory. As you can probably tell, I installed Samba at one point, if that makes a difference.


1 to 1 of 1
  1. Chris Stone photo Addendum -- /usr/local/bin
    2002-03-28 15:53:57  Chris Stone | O'Reilly AuthorO'Reilly Blogger [View]

    • Addendum -- /usr/local/bin
      2002-04-02 07:03:34  network23 [View]

    • Addendum -- still no compile!
      2002-03-31 22:22:38  rberg [View]

1 to 1 of 1