in an xterm:
su - 
/sbin/halt

Justin Haaheim wrote:
> I'd like to configure my computer so that, with one command, I can log 
> out and shut down.  I'm using kde, and the command for logging out of 
> kde is kdeinit_shutdown.  This will bring me back to the login screen, 
> though.  From there, I'd like to run /sbin/reboot or something similar. 
>   Is there a way I can put these commands together so that after kde has 
> been shut down, the computer would then also reboot.

-- 
scot

_______________________________________________
Twin Cities Linux Users Group Mailing List - Minneapolis/St. Paul, Minnesota
http://www.mn-linux.org tclug-list at mn-linux.org
https://mailman.real-time.com/mailman/listinfo/tclug-list