Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

proverbs

macrumors 6502
Original poster
Mar 15, 2005
287
0
the thread I read gave the Command(the Apple key)+Option(the Alt key)+P+R, but also gave the "Applications > Utilities", and open up "Disk Utility".

is there one that works better? (I'm about to install Tiger)
 
The first is zapping PRAM. The second is the way to repair permissions. I'm sure there is a way to do it in Terminal, but someone more knowledgeable could help you there.
 
Lacero said:
The first is zapping PRAM. The second is the way to repair permissions. I'm sure there is a way to do it in Terminal, but someone more knowledgeable could help you there.

A gamut of terminal ways to do useful things (including, hehe, what was asked for eventually):

sudo PERIODIC DAILY
sudo PERIODIC WEEKLY
sudo PERIODIC MONTHLY

execute the daily, weekly and monthly maintenance tasks. In case you want to for some reason. I think it's good to do this in a cycle before doing the other stuff, but it isn't very critical, and it gets done plenty often manually.

sudo diskutil information disk0
sudo diskutil information disk0s9

These two commands will give you info on the boot drive, including whether it's SMART verified.

sudo diskutil repairpermissions /

This one will repair permissions.

sudo update_prebinding -root / -force -debug

This one will update prebindings.

sudo softwareupdate -i -a

This one will install all available software updates.

sudo shutdown -h now

Finally, this one will shut the computer down.
 
SWEET!
although i have no clue on how to do this, i will keep this for future reference.
thanks.
 
proverbs said:
SWEET!
although i have no clue on how to do this, i will keep this for future reference.
thanks.

The terminal is in the utilities folder inside applications. You just run it and type this stuff in. Anything that starts with "sudo" will prompt you for a password. But if you aren't terminal comfortable, stick with Disk Utility at the moment. Disk Utility is a front-end for the same diskutil command -- they execute the same code. A sort of safe rule for the terminal is that until you know what you're doing, it's rather better to avoid doing any command that needs to have "sudo" at the beginning. :D However, for any of these commands, they are totally safe, although you should not run any other programs while you are doing them.
 
Mitthrawnuruodo said:
sudo shutdown -r now will reboot and not just shut down the machine...

Yeah, sorry. Good add! I copied these out of my script, and when I run it, it's the rare times I reboot this thing, and I usually run it late at night on a weekend before sleeping, and then just let it shut down.

Just to add, if anyone (other than Yellow and Mitthrawnnuruodo and edesign, who already know all this :eek: ) wants options on any of these, type in man followed by the word directly after sudo. So:

man shutdown

will give you the options on the shutdown command. :)
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.