Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
谁能告诉我如何构建基于控制台的菜单,我可以在其中通过方向键导航以选择选项。代码应该在 bash 或 shell 脚本中。
查看pdmenu。使用起来非常简单。
或者,如果您需要更深入,可以使用whiptail工具。它还允许您构建对话框等。但与pdmenu.
pdmenu
What about the dialog command?