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.