Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 10-09-2003, 11:36 PM   #1
Registered: Sep 2003
Posts: 51

Rep: Reputation: 15
diffenerce between whereis an which???????

When I use "whereis" and "which" ,I can only find software ,but I can't find any other files like ***.txt.
who can tell me how to use whereis and which to find files ,expecially folders !

Thanks !!!
Old 10-09-2003, 11:51 PM   #2
LQ Addict
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
you can't find txt files and the like with whereis or which. See
man whereis
man which

The easiest is to use a graphical file manager like konqueror and serach there.
Old 10-09-2003, 11:52 PM   #3
Registered: Jan 2003
Location: Georgia, US
Distribution: RHEL WS4
Posts: 189

Rep: Reputation: 30
I think you would have better luck using find or locate. They will search for any file type. Just run "man find" or "man locate" for the syntax.

Old 10-10-2003, 03:01 AM   #4
Registered: Sep 2003
Posts: 51

Original Poster
Rep: Reputation: 15
At first , thanks for your help !!
But what I want to do, was not finding the files ,but study how to use these two orders .

thank u all the same !


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
using $PATH with whereis shanenin Programming 5 09-16-2005 10:28 AM
whereis kate shanenin Linux - Software 4 09-15-2005 03:42 PM
whereis firefox Monjawi Linux - Newbie 1 09-09-2005 06:19 PM
whereis Realplayer? mohapi Fedora 8 06-12-2004 03:00 PM
whereis cups tincat2 Linux - General 2 05-07-2003 12:28 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:13 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration