LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 06-21-2005, 10:33 AM   #1
Kumado
Member
 
Registered: Oct 2003
Location: Ohio , USA
Distribution: up to Suse 15.1
Posts: 73

Rep: Reputation: 25
whereis / locate and version


only way I gonna figger it out is by asking.....

how do I update my machine so whereis finds new installed files?

Locate is not on a couple machines I have, is it the same as whereis?

also, is there a command that would tell me which version of Suse I am running in shell?

Thanks!

Mike
 
Old 06-21-2005, 03:40 PM   #2
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,994

Rep: Reputation: 76
Re: whereis / locate and version

[QUOTE]Originally posted by Kumado
only way I gonna figger it out is by asking.....

Also, try the documentation:
Code:
man man
man info
ls /usr/share/doc/packages/
http://www.tldp.org

Quote:
how do I update my machine so whereis finds new installed files?
Whereis searches for all files on the current $PATH.

Quote:
Locate is not on a couple machines I have, is it the same as whereis?
No; locate finds all files through an indexed database, whereis just looks in the current path (also see which).

To update the current database:
Code:
updatedb
Quote:
also, is there a command that would tell me which version of Suse I am running in shell?
Most system hardware and kernel information can be found through
Code:
uname -a
or by looking in /proc/

To get the SuSE release, /usr/share/doc/release-notes/RELEASE-NOTES.en.html should provide a hint. You could look at using cat, grep and so on to extract a string.
 
  


Reply



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 09:28 AM
whereis kate shanenin Linux - Software 4 09-15-2005 02:42 PM
whereis firefox Monjawi Linux - Newbie 1 09-09-2005 05:19 PM
version #10.1 CE - how to locate a device ?? bigjohn Mandriva 2 10-23-2004 09:16 PM
whereis cups tincat2 Linux - General 2 05-07-2003 11:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 11:48 PM.

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