13

[ubuntu] How would I make a command that inputs something to terminal?

view full story
linux-howto

http://ubuntuforums.org – Hello, I have Ubuntu on a flash drive. The one problem I have is when I log off of the default account (Ubuntu) and onto my personal it wont shut down or restart when I tell it to. I have read that I can issue "sudo shutdown -P now" and it will shut it down. However I would like to be able to click something on my desktop or something of that nature to shut the machine off. I would do the same with with "sudo reboot" Help is appreciated, Thanks (Hardware)