У нас вы можете посмотреть бесплатно Creating Command Line Menus with Shell Scripts или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса ClipSaver.ru
More videos like this online at http://www.theurbanpenguin.com For some users they will not know how to navigate the Linux CLI and perhaps it is best to provide them with a menu upon login. If we write this menu with a shell script then we can run it from their .bashrc login script using exec [scriptname] to ensure that leaving the script also logs them out. We can use a while loop to ensure the menu is shown after each selection and a case statement to read the users's selection. To ensure users cannot cntrl+c out of the meny we trap the signal so that it is ignored byt he script.