I know the halt or shutdown command will allow me to turn off the computer from a bash prompt.
But how can I put the computer into sleep mode from the commandline?
The apmsleep command complains it does not have something compiled into the kernel and there is no way I want to recompile the kernel to do this. There has to be some magic bash command to let me do this. Anyone know what it is?