New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Operating System General OS operation information and support

'whereis' failed to work... any reason?


Post Reply New Thread Subscribe

 
Thread Tools
jc9869

 
Member Since: Dec 04, 2009
Posts: 5
jc9869 is on a distinguished road

jc9869 is offline
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.
QUOTE Thanks
vansmith

 
vansmith's Avatar
 
Member Since: Oct 19, 2008
Location: Ottawa
Posts: 17,102
vansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond repute
Mac Specs: 2012 13" MBP (2.5 i5, 8GB)

vansmith is online now
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
Mac-Forums Investigates MacKeeper - Confused about MacKeeper? Take a look at this review.
QUOTE Thanks

Post Reply New Thread Subscribe


« Anyone having problems with Snow Leopard? | Changing OS X Sleep Login background »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
VPN doesn't work with Mac with new Router millertech Internet, Networking, and Wireless 4 10-25-2011 11:41 AM
Reason 4-running repair tool failed! amk133 OS X - Apps and Games 4 11-19-2009 05:13 PM
Snow lepoard running crazy slow BostonMarley OS X - Operating System 46 10-18-2009 01:25 PM

All times are GMT -4. The time now is 03:53 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?