when i get the "#" prompt after a bad restart I type:
to get X to start.
if i have issues with X starting or it starts in the wrong resolution. i run
from the command prompt.
This runs the X setup wizard that ran when your first install or use puppy on a new machine.
As for filesystem maintainance i usually run
adjust drive name to match your setup.
# e2fsck -p /dev/sda1
from the livecd if the system start to act funny and after power failures or system crashes.