| Switcher Hangout The place for switchers to discuss their new machines, and how to work with OS X. General support can be had here for newbie stuff, like "How do I restart my new iMac?" :) |
| Post Reply | New Thread | Subscribe |
|
|
Thread Tools |
|
Guest
Posts: n/a
|
Hello all. I just got my first Powerbook G4 and OS X. I come from a mixed world of linux and winders. Very pleased thus far with this computer. But I do have a question.
Upon a first install of unix when you go to the terminal and try to run the "locate" command you get this: locate:: no database file /var/db/locate.database I get that on my new mac too. In unix it is easy to login as root and run "updatedb", then you are all done. However, when I run that on my Mac I get updatedb command noty found. What do I need to do? Is there a super user account? or am I thinking too linux and not enough Mac? Thanks, Dave |
| QUOTE Thanks | |
|
Inactive Staff
Member Since: Dec 24, 2002
Location: Los Angeles, California
Posts: 12,591
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Mac Specs: 2 x 3.0GHz Quad-Core, 6GB OS X 10.6.8 | 15in MacBook Pro 2.2GHz OS X 10.6.8 | 64GB iPad 2 WiFi
|
Do a man on the locate command. It should be able to find the command that will create the databse that you need.
if you are trying to find where certain commands are located. You can try whereis and whence. I know these work on other favors of unix. Life isn't about waiting for the storm to pass, It's about learning to dance in the rain! |
| QUOTE Thanks | |
![]() Member Since: Mar 09, 2004
Location: Miami FL
Posts: 2,860
![]() Mac Specs: G4 1Ghz OS X 10.4.7
|
Choose Security > Enable Root User and type a password for the root account. You may need to type an administrator password to make these changes. Choose Apple menu > Log Out. Choose Other in the Login window, type root in the Name field, and the root password in the Password field.Remember root can do anything so you can fubar your system (I'm sure you this) and never be on line |
| QUOTE Thanks | |
| Post Reply | New Thread | Subscribe |
| Thread Tools | |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
|
|||||||
Thread |
Thread Starter |
Forum |
Replies |
Last Post |
| looking for a terminal emulator and command shell in Mac OSX | CandiMarie | OS X - Operating System | 9 | 03-05-2004 03:53 PM |
| Unix command master class. | Amen-Moses | Community Suggestions and Feedback | 2 | 02-10-2004 07:34 PM |
| Hi I cannot eject my dvd after I unmounted it from the command line | shorki | OS X - Operating System | 4 | 07-14-2003 09:29 PM |
| Duplicate a CD/DVD-ROM via the command line | gatorparrots | OS X - Development and Darwin | 0 | 12-24-2002 12:32 AM |
All times are GMT -4. The time now is 11:11 PM.
Powered by vBulletin