Results 1 to 2 of 2
  1. #1
    'whereis' failed to work... any reason?

    Member Since
    Dec 04, 2009
    Posts
    5
    'whereis' failed to work... any reason?
    i am new to Mac.
    i run 'whereis' program before and apart from the program path, it showed me the other directories the program is also using... (i use whereis firefox to check the directories) but lately it suddenly doesn't work... just nothing except going back to the prompt.
    someone said the application (firefox) is not under the PATH, i checked and understood, but just don't get it why whereis work before and now don't.
    i tried whereis whereis and it replied /usr/bin/whereis
    how to make it back to before?

    thanks.

  2. #2
    'whereis' failed to work... any reason?
    vansmith's Avatar
    Member Since
    Oct 19, 2008
    Location
    Toronto
    Posts
    19,390
    Specs:
    2012 13" MBP (2.5 i5, 8GB)
    If you type in
    Code:
    sysctl user.cs_path
    you will see the list of directories whereis will look. If Firefox is not in one of those directories (which it shouldn't be), it won't show up. I can't explain why it showed up in the first place unless you put it in one of the standard binary directories (which should avoid doing as there is no benefit to you for doing so).

    If you want more info on whereis, look at the man page:
    Code:
    man whereis
    Important Links: Community Guidelines : Use the reputation system if you've been helped.
    M-F Blog :: Write for the blog
    Writing a Quality Post

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. ISP failed, internet failed, server failed
    By hilmel in forum Internet, Networking, and Wireless
    Replies: 3
    Last Post: 05-30-2013, 04:30 PM
  2. External monitor - Any reason why this wouldn't work?
    By mrmeister in forum Other Hardware and Peripherals
    Replies: 0
    Last Post: 01-23-2012, 10:23 AM
  3. Reason 4-running repair tool failed!
    By amk133 in forum OS X - Apps and Games
    Replies: 4
    Last Post: 11-19-2009, 05:13 PM
  4. Replies: 1
    Last Post: 11-12-2008, 01:35 PM
  5. Help ? Airport all OK except 'Failed Internet, Failed Server'
    By Copper in forum Internet, Networking, and Wireless
    Replies: 4
    Last Post: 08-28-2008, 06:47 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •