View Full Version : [ubuntu] how i can make menu like picture ?
September 19th, 2010, 04:50 PM
Hello, i want make some menu for users to do some works like restart system, restart, shutdown, changing system ip address and etc. but i don't know how.
can you help me ?
i want do like this :
September 19th, 2010, 06:20 PM
You can probably make a menu system like this by using shell scripts. Your best bet is just plain old bash - there's a tutorial on bash shell scripting/programming here: http://tldp.org/HOWTO/Bash-Prog-Intro-HOWTO.html
September 19th, 2010, 06:37 PM
If you are looking for a fancier menu, then try dialog. It's in the repos. It provides a method of displaying several different types of dialog boxes from shell scripts.
dialog --menu Menu 20 40 5 [W] "How to" [U] "Global admin" [Q] "Exit"
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.