View Full Version : [ubuntu] how i can make menu like picture ?
m-r-r
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 :
http://vzz.ir/files/yho6ur6nalsqpngzalqn.png
thanks.
s5GbJReJ
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
sisco311
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"
http://www.linuxjournal.com/article/2807
Powered by vBulletin® Version 4.2.2 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.