SUSE / openSUSEThis Forum is for the discussion of Suse Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi, I just started with Open Suse 11.
Look & Feel are alright, but there is one thing that I do not understand.
When working in a root terminal I enter updatedb: command not found
When I enter locate ...: command not found
Is there a reason that these commands are not included in the Bash?
And are there more commands missing?
updatedb and locate are independent programs, they are not related to the bash
The $PATH variable makes the bash known about all the nice software on your system.
I't seems that your $PATH variable is not set corret in the root terminal, type
Code:
$ echo $PATH
make sure that updatedb and locate are installed, and that the bash can find them in the $PATH variable.
The command whereis is to locate the binary of a specific command. locate and of course updatedb are to index and search all files on a system.
That's a great difference.
Yes, the $PATH seems to be ok, but it seem curious too.
Have you tried to locate something in another terminal?
And are sure you have installed the slocate/locate package on your system?
Have you tried some other commands like [I]find[I], commands that are not built-in into the bash.
loginattemp#2, thanks for the information. Got my updatedb working.
I was puzzled because I thought that these would be installed during installing Suse.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.